View Single Post
Old 04-15-2009, 06:19 AM   PM User | #3
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,455
Thanks: 9
Thanked 466 Times in 450 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
a few suggestions:

providing stricter code to the browser would almost certainly reduce parsing time...

using lower-case tags, quoted attribs, a doctype, and not using tables would also speed things up.

if you must use tables, give each one a height and width, to cut down on redraws.
without a pre-known height+width, the entire page is reflowed to fill a single cell...

in fact, in general, the more things you pre-size, the faster the page can render.

you could also move the style attribs to css classes, where they can be pre-parsed once, instead of once for each element...
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:14% IE7:0.5% IE8:8.6% IE9:9.8% IE10:10%

Last edited by rnd me; 04-15-2009 at 06:26 AM..
rnd me is offline   Reply With Quote