Support » Themes and Templates » Using a different css for IE6

  • ResolvedModerator kmessinger


    I have added an additional style sheet, OEAIE6.css and I have put a conditional use in the header.php file. It seems to do nothing in IE6.

    Do I have the correct syntax?

    Conditional code:

    <!--[if IE 6]>
    <link rel="stylesheet" href=" theme/OEAIE6.css" media="screen" />


Viewing 5 replies - 1 through 5 (of 5 total)
  • The syntax looks fine to me so I can only assume that your remedial CSS isn’t quite right yet. If I’m not sure if I’ve targeted the CSS correctly, I normally add something like border:1px solid red; to whatever I’m working on at the time. If I see that border in the right place in the right IE version, I know I just have to play with the CSS some more.

    Moderator kmessinger


    Thank you, I will try that.

    in your ‘link’ tag you did not put:


    I believe this is required

    Moderator kmessinger


    miocene22 thanks. I added it below so it applies to all the css links in header.php.

    The only test I have for IE6 is and it looks like now it is working.

    Moderator Mark Ratledge


    Forum Moderator

    Try IETester to use IE 6, 7 and 8 at the same time on Windows, but it can also be run virtually on OS X with VMware. etc.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Using a different css for IE6’ is closed to new replies.