/    Sign up×
Community /Pin to ProfileBookmark

conditional comment not working!!

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…

[code=html]
<!–[if IE 6]>
<link href=”ie6.css” rel=”stylesheet” type=”text/css” />
<![endif]–>
[/code]

If you go to the following [URL=”http://anthony****ings.co.uk/harmony-court/site/property-19.html”]url[/URL] 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.

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@aj_nscJun 29.2009 — 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.
Copy linkTweet thisAlerts:
@ssbeatsauthorJun 29.2009 — oh right.

http://anthonyc o c k i n g s.co.uk/harmony-court/site/property-19.html

Maybe try this.

thanks.
Copy linkTweet thisAlerts:
@aj_nscJun 29.2009 — 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.
Copy linkTweet thisAlerts:
@ssbeatsauthorJun 29.2009 — 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.
×

Success!

Help @ssbeats spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...