I've been working with websites, HTML, and CSS for quite a while now. I've never really sat down and thought too much about where I put my styles within my code. There for a while I would embed it into directly into the HTML or tags (I know, bad idea). After that I started putting it into (a) separate file(s).
Nowadays, I typically place all (or most) of the style into a single file (usually global.css), and split CSS that is only used on one or two pages into a separate file (such as for specific forms).
I'm posting this because I'm curious exactly how you organize your styles, and if you think there is a better method for doing this. Do you use a method similar to me, do you split it into a larger number of files based on common threads, embed some styles into the pages, or something totally different?








Bookmarks