Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

HTML optimisation

Name: Anonymous 2010-03-02 15:04

It astounds me how many nested <div>s some sites use in order to get the layout they want.

Less <div>s, of course, mean faster loading times and easier css-ability (thus making it easier to make alternate stylesheets or to redesign the site).

I, personally, use as few <div>s as possible, and only when the <div> is visible, either directly with a border or background or indirectly where it can be seen to alter the text flow.

Discus.

Name: Anonymous 2010-03-02 15:13

NO EXCEPTIONS!

Name: Anonymous 2010-03-02 15:34

>>1
The reason you should be using less divs is to simplify the DOM tree, so that Javascript has a chance in hell of processing the damn thing some time this century.

Any other reason is laughable.

Name: Anonymous 2010-03-02 15:44

>>3
Javascript
Any other reason is laughable
HIBT?

Name: Anonymous 2010-03-02 16:04

>>3
Maybe you're browser sucks.

Name: Anonymous 2010-03-02 16:49

>>5
*your

Name: Anonymous 2010-03-02 16:52

css is for idiots.
real men use tables.

Name: Anonymous 2010-03-02 17:04

tables are for idiots.
real men use frames.

Name: Anonymous 2010-03-02 17:07

frames are for idiots.
real men use javascript.

Name: Anonymous 2010-03-02 17:11

javascript is for idiots.
real men use CGI/perl.

Name: Anonymous 2010-03-02 17:15

CGI/perl is for idiots.
real men use css.

Name: Anonymous 2010-03-02 17:21

css idiots is for real men.
idiots use MY ANUS

Name: Anonymous 2010-03-02 18:43

My other cas is a css.

Name: Anonymous 2010-03-02 20:05

bbs,computers,software,programming,php,perl,html,sql,python,ruby
:(

Name: Anonymous 2010-03-02 20:45

>>4
I bet you think ECMA script is a poor scripting language.

>>5
IABT: Nah, taking longer to load a few div tags than to process them with JS would be the indicator of a sucky browser. IHBT.

>>10
On the client side? I'm sure there's a way to do that (without CGI of course) but it would be much worse than JS.

Name: Anonymous 2010-03-03 17:01

>>1
I've never seen anyone optimising something before, OP. You're my hero.

Name: Anonymous 2011-02-03 5:26


Don't change these.
Name: Email:
Entire Thread Thread List