Jump to content

Multiple css


Glom

Recommended Posts

When I started work on my new template using css layouts, I created a seperate css file containing the styles for the divs. All my main pages call up both stylesheets. I know functionally it doesn't make a difference, but should I combine them into one or is it okay to leave it seperate?

Link to comment
Share on other sites

I keep um in the same CSS file and just put comment lines in to show what is what.http://www.john-eva.co.uk/styles.css

Link to comment
Share on other sites

It is only good to keep them is separate files if you have two or more styles for the site. The included style would be the one carrying the things the two styles share. Otherwise, it's useless and as mentioned above, it may actually have a performace hit.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...