the clean and efficient way to use CSS in a big website
Posted on 2006-07-10
I use CSS but I never did a big project with it. I only used it to create small sites and I never went really in depth with it...
Now I'll be involved in a big project and I'd like to learn the "correct" way to use CSS.
I'll do some examples.
I've seen some websites that use a .css file for the colors, a .css for the rest (positioning, fonts etc.).
I've seen that many websites have hacks for internet explorer... should I create a seprarete css with all the hacks? Or include them in the main css files?
I've seen that many websites have a printer-friendly CSS...
I'd like some tutorials, guides or your personal suggestions to correctly create an ordered css structure to be used in a generic big website.
The project is a web application that will be customized for each client. Thus the main css design could be modified for each client. The idea is that each client will use the same design, and only the colors will change, or other minor details.
Please give me some useful (advanced) suggestions and I'll split the points accordingly.