Click to See Complete Forum and Search --> : conditional comment not working!!


ssbeats
06-29-2009, 09:48 AM
I am trying to use an alternative stylesheet for IE6. However, for some reason it is not taking effect. I have used alternative stylesheets on many occasions so im quite baffled. The code i am using is...

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


If you go to the following url (http://anthony****ings.co.uk/harmony-court/site/property-19.html) you will see that the transparent pngs fix on the background of the text box has not been applied. Can anyone sugguest why this might be?

Your help would be greatly appreciated.

aj_nsc
06-29-2009, 10:06 AM
I don't know if it's just me, but it appears your url is getting parsed by vBulletin...I get http://anthony****ings.co.uk/harmony-court/site/property-19.html

Same thing happened with your other post in the CSS forum. Try spacing the censored part of the URL or something.

ssbeats
06-29-2009, 10:27 AM
oh right.
http://anthonyc o c k i n g s.co.uk/harmony-court/site/property-19.html
Maybe try this.

thanks.

aj_nsc
06-29-2009, 10:38 AM
Hahaha! You wouldn't believe the four letter word combinations I tried to get your website to come up......

How do you know it's not working?

If you're testing via a standalone version of IE6 on a computer with IE7 or IE8 installed, you need to do some registry messing in order for your standalone version to present its proper user agent and version. Google something like standalone IE6 + conditional comments.

Sorry I couldn't be more helpful but I can't get a standalone version of IE6 to run on vista.

ssbeats
06-29-2009, 10:54 AM
lol.
what you sugguested sounds like it could be the problem. Im am using a program called multiple IE's and therefore have multiple versions installed.

Ill look into this further. thanks for your help.