In my project I have put all my css classes in the style sheets.
The structure I am following was
Have a global.css file, which will have all the global styles. And then for each .aspx page one style sheet which will be particular for that file.
Although I am talking about the asp.net this should not make any difference to any other web development environment, I guess.
Is this way of structuring the css files OK ? How do others arrange their css files, and why ?
Thanks.
Related Question
A css file for each .aspx page seems to defeat its purpose, namely reusability, etc. I suppose if each page is really that unique from a style perspective, maybe it’s necessary, but I’d work on getting away from that format.
I usually have a master css file, then perhaps additional ones for other major portions of my site (such as a private administration section, etc.)