View Full Version : organizing external CSS

04-19-2008, 12:23 PM
i'm just wondering what you pro's do when it comes to your external CSS?
meaning, do u have ALL your styles in one 'main.css' doc or do you split it up and have 'main.css' - 'navbar.css' - 'pictures.css' and so on??

just curious...

04-21-2008, 01:06 AM
for me i split them ,didnt used to but now i find it easier to seperate them.Typically i use layout,classs,text,and menu and gallery if needed.
also has advantage if you want to use different parts on different pages

04-21-2008, 01:11 PM
There is such a thing as too many CSS files. Normally a browser will only allow so many files to be downloaded at the time.
The approach DJ describes in his post above is not uncommon. I sometimes make a separate CSS file for specific application in a site, like photo-gallery.css

04-22-2008, 05:10 AM
The approach DJ describes in his post above
I'm only half geordie

04-22-2008, 12:44 PM
I'm only half geordie
Hahaha! Sorry Ed, my bad :-)

04-23-2008, 01:06 AM
funny, i always blamed my mother!

04-23-2008, 01:52 AM
ahhh thanks for giving me a good laugh !