PDA

View Full Version : multiple CSS stylesheets


dzwestwindsor
05-23-2010, 09:27 PM
Just wondering,

what are the pros/cons of having multiple stylesheets, and what are the pros/cons of having one huge stylesheet

performance wise? efficiency wise?

DWcourse
05-23-2010, 10:00 PM
One big style sheet equals fewer calls to the server and better performance.

Multiple style sheets can be easier to manage if they are for specific items.

dzwestwindsor
05-23-2010, 10:30 PM
perfect answer, just what i thought. Thanks

d a v e
05-24-2010, 06:07 AM
you can also compress your styles heets to compact and rearrange them into smaller filesizes .e.g. http://www.cssdrive.com/index.php/main/csscompressor/ but make sure you keep an uncompressed copy somewhere because they can be difficult to edit aftewards ;)