Separate style sheet for internet explorer
-
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!
- The topic ‘Separate style sheet for internet explorer’ is closed to new replies.