• I’ve been customizing a theme for a new wordpress blog and need help attaching a seperate stylesheet for Internet Explorer. My blog is just the way I want it in Firefox, but the layout is off in IE. I created a separate stylesheet (iestyle.css) to hold the IE fixes, so as not to clutter up the main stylesheet. I inserted the following line into my header.php file

    <!--[if lte IE 6]>
        <link rel="stylesheet" type="text/css" href="iestyle.css"

    <![endif]–>
    It is within the <head> tags and after the initial stylesheet direction.
    The line I added shows up when I view the source code in IE 6, but none of the changes I make in the file show up when looking at the page in IE 6.
    I’m pretty new to CSS and PHP so any help would be greatly appreciated. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • First thing I would try is to use an actual URL for the href. Just the file name will cause issues when you advance into your site.

    Thread Starter blairm

    (@blairm)

    Wow, that seems to have worked. Now I can start tackling all my IE issues!
    Thanks drmike

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Separate style sheet for internet explorer’ is closed to new replies.