View Full Version : IE Dark Magic

07-14-2005, 09:57 PM
I'm about to split my head open in frustration from this. Anyone who can help will have my undying appreciation.

On the website I'm designing, there are different headerpics for each page. So, I've made a headerpic div, and given a different class for each one. I should use an id, but that's beside the point.

So in my CSS I define the width and height for the headerpics (since obviously they're all the same), and then for each class I define the unique URI of the picture. It's all dandy in Firefox, but in IE it only displays the first class in the CSS. It's bizarre. If I change the order of the classes in the CSS, then a different one displays. Right now .blog is the first class... If I make .releases the first class, then that will be the headerpic displayed.

Does anyone understand this?


07-14-2005, 11:37 PM
I'm not sure if IE understands the attached class to the id. Why don't you just use an id? Its not like you have that class anywhere else on your page. Or even remove the #headerpic from #headerpic.blog etc.