3 replies [Last post]
newdude
Offline
Enthusiast
Last seen: 5 weeks 6 days ago
Timezone: GMT-4
Joined: 2008-11-29
Posts: 183
Points: 279

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.

Deuce
Deuce's picture
Offline
Guru
Las Vegas, NV
Last seen: 1 year 13 weeks ago
Las Vegas, NV
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4422
Points: 1841

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.

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

Deuce
Deuce's picture
Offline
Guru
Las Vegas, NV
Last seen: 1 year 13 weeks ago
Las Vegas, NV
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4422
Points: 1841

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.

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

newdude
Offline
Enthusiast
Last seen: 5 weeks 6 days ago
Timezone: GMT-4
Joined: 2008-11-29
Posts: 183
Points: 279

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.