skip to main content
2 posts tagged with css by edjusted.
Displaying 1 through 2 of 2.
I have a web site using Wordpress and I'm trying to figure out a css problem with IE. The first thing I'm doing is creating a seperate IE stylesheet. I've followed all the instructions found in the Wordpress forums but can't seem to get IE to pick up the new stylesheet. (I've already asked this question there but haven't gotten back anything that worked.)
Here's what I've added to my header.php *below* the call to the regular style.css:
Here's my code:
<!--[if IE]>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/style-ie.css" type="text/css" />
<![endif]-->
I know that IE is picking up the if-then, because I added a random text string in there and IE showed it. The way I'm testing whether or not IE is getting the style-ie.css sheet is by changing the color of the menu bar from orange (non-IE) to white (IE). I've also tried hardcoding the path to the other css sheet and that didn't help.
I'm at my wits end. What am I doing wrong?
posted by edjusted
on Feb 22, 2008 -
15 answers
Page:
1