• Is it possible to have a separate theme for IE6 users, I’ve got a custom theme that works great in IE7 onwards and other modern Browsers but stinks in IE6.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Validate both html and css: most problems with IE start when your browser goes into quirks mode, because of incorrect xhtml

    If validation doesn’t help, you can try IE6 conditional comments to make an IE6 user’s browser use a different style sheet:

    <!--[if IE 6]>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/ie6.css" />
    <![endif]-->

    The code goes in your header.php above the </head> tag. Your IE6 style sheet can be called anything, of course. And it only contains the CSS that needs to be different than the main style sheet. In the case of several of my sites, I only have a few different selectors that need to be slightly different for IE6.

    Google “IE6 conditional comments” and you’ll find lots of sites to help.

    songdogtech provides some good advice. This is how I’ve handled IE6 in the past as well until I stopped worrying about it. Writing conditionals can be a pain depending on what you’re doing.

    Really, I think people should stop catering to users still on IE6 and just let the damn thing die already.

    Letting IE6 die is a consideration. But there are lots of organizations and governements that are stuck using it. I’m going to start using IENoMore and edit the text to gently try and convince people to move up for security, among other obvious reasons.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Separate Theme for IE6’ is closed to new replies.