Wed, 2010-02-24 16:48
for this site (http://www.bankingwiththebeard.com/wordpress/) i have code below positioned in the header.php file for an IE6 CSS hack but for some reason it doesnt seem its being applied.
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" /> <!--[if IE 6]> <link rel="stylesheet" href="http://www.bankingwiththebeard.com/wordpress/wp-content/themes/green-theme/ie6_style.css" type="text/css" media="screen" /> <![endif]-->
the code within the ie6_style.css file reads as follows:
#body {background: #FFFFFF;}
please advise why its not being applied. thanks.
Thu, 2010-02-25 03:38
#1
That link wasn't found, so we
That link wasn't found, so we don't know the specificity of the initial style.
Try
#body {background: #FFFFFF !important;}
In your IE6 stylesheet.
Thu, 2010-02-25 03:40
#2
Also, are you referring to
Also, are you referring to the body element or an element with the id of "body".
If the first, then try
body {background: #FFFFFF;}
If the latter, try my above statement.
Thu, 2010-02-25 04:12
#3
thanks. its working now. i
thanks. its working now. i had transferred over the site earlier today but needed to update the css hack link.