Previous Message
Next Message

First full CSS site

Sent by Gunlaug_Sørtun on 6 October 2005 20:08


Trevor Boult wrote:

> http://www.tboult.co.uk
> 
> Should I really have a 17k stylesheet? seems rather big, is their a 
> way to be more efficient with my code?

17k isn't necessarily too big, if it covers a complex site. Looks a bit
large in your case though. I think below 6k should do fine for your
layout/design as it is now.

Some tips:
<http://www.456bereastreet.com/archive/200502/efficient_css_with_shorthand_properties/>

Have a look at 'CSS tips and tricks, part 1 & part 2' while you're at
Roger's site.


More tips, from me:
- Don't use 'position: absolute;' for large parts of a page. It doesn't
scale well when user-options like font-resizing come into play.
- Use 'em' and '%' as font-size units. Other units are not working well
in IE/win, and are not very predictable for the outcome on screens.

regards
	Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: