views:

59

answers:

3

I have 3 stylesheets, style_ie6.css, style_ie7.css and style.css. Here's what I have:

I've used browserlab, ietester and browsershots and IE6 & 7 are ignoring my conditionals and loading up the main stylesheet.

*edit: don't know why it isn't displaying... here's the live link:http://www.inishrosshouse.com/index.php

+1  A: 

Put the main stylesheet before the conditionals.

Delan Azabani
Well spotted, maybe that's already it. :)
Pekka
A: 

I can only speak for IETester but I this is known behaviour there: When multiple instances of Internet Explorer are installed (or active) on the same system, conditional comments will be resolved against the highest IE version available on the system.

Pekka
+1  A: 

Depends on what tags you're putting into the ie6 and ie7 versions. First, I'd recommend moving the style.css first. Then only put tags in the ie6 and ie7 that change a tag to make it work in that browser.

Cyfer13
great, it works now. I thought it would work correctly if placed before the main style sheet as the conditional would be read first
decimal