Thread: css mess!
View Single Post
  #3 (permalink)  
Old Jun 3rd, 2006, 15:16
herkalees's Avatar
herkalees herkalees is offline
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css mess!

Of course, just take the contents of all of them, and stick them into one (or a new one). Then, just make sure all your pages have a link to it.

Do know, if you're combining style sheets and you have some property: value combinations that are the same, which ever is lower in the file will take precedence. Like this,

Say you have:
#leftCol {
width: 250px;
background-color: $ffc;
}

#leftCol {
width: 270px;
background-color: $ccc;
}

Then, your site will always show the lower set of values, because it is physically lower in the code.

You may not have repeating values, but it can be common when merging css files.
Reply With Quote