View Single Post
  #10 (permalink)  
Old 08-11-2004, 12:46 PM
speed speed is offline
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Cornwall, UK
Posts: 883
speed RepRank 1
Default

Quote:
Why do you both recommend using only a singel style sheet?
My main reason is when I'm trying to find a bug I only have to look in 1 file.

It also avoids precedence problems if you use the same class name in 2 different CSS files by accident, or at least makes it easy to spot.

The CSS file is downloaded once and cached by the browser, or at least that's the theory, so you may as well load every thing in one go.

The only reason I would use more than 1 style sheet is if I had an area of the site drastically different from the rest e.g. administration area.
__________________
US & UK Web Hosting with hourly backups | Web Hosting Specials | Web Directory 2 for 1 Offer
Reply With Quote