DebugBar Forums
 
 HOME 
 DOWNLOAD 
 BUY 
 DOC / WIKI 
 FORUM 
 CONTACT 
Stay tuned : rss feed

Forum Home


advanced search

You are not logged in.

Announcement

Forums are now closed as we moved them to google groups. You can use the following Google Groups to discuss about DebugBar and IETester products:

#1 2009-01-23 16:52:24

albertomarlboro
New member

Conditional comments doesnt work ie6, ie7

<!--[if lte IE 6]> - doesnt work. fails in ie5.5 and 6
<!--[if IE 6]> - ie5.5 hide comments , but IE6 not.
<!--[if IE 7]> - ie5.5 and 6 hide comments, ie7 no, ie8 yes

the ugly solution

<!--[if IE 8]> - hide to all them

Offline

 

#2 2009-01-23 17:00:01

fabrice
DebugBar Support

Re: Conditional comments doesnt work ie6, ie7

Are you talking about IETester or DebugBar ?

Offline

 

#3 2009-01-24 00:39:41

albertomarlboro
New member

Re: Conditional comments doesnt work ie6, ie7

Sorry i did not figure out both software in this forum, Im talking about Ietester

Offline

 

#4 2009-01-24 13:16:13

fabrice
DebugBar Support

Re: Conditional comments doesnt work ie6, ie7

What is your OS and IE default version ? Also what is your exact code ? Do you have a sample page where I can reproduce the problem ?

Di you go to this page :

http://www.my-debugbar.com/ietester/index_all.php

It is checking conditional comments and it is working on my side (Vista SP1 with IE8 RC1).

Offline

 

#5 2009-01-24 16:59:13

albertomarlboro
New member

Re: Conditional comments doesnt work ie6, ie7

OS : XP SP 3
Default IE : 7

the code is simple.

Code for regular browsers (W3C compliant)

#navigation .contact {
  background-image: url(../images/icons/png/email.png);
}

Code for IE <= 6 (to deal with PNG transparency issue)

#navigation .contact {
  background-image: url(../images/icons/gif/email.gif);
}

Here i placed the conditional comment

Offline

 

#6 2009-01-24 17:55:08

fabrice
DebugBar Support

Re: Conditional comments doesnt work ie6, ie7

There is no conditional comment on the code you provided.... Please provide a simple html apge with all the code in it.

Also did you try the page

http://www.my-debugbar.com/ietester/index_all.php

to check if conditional comments are working fine from this page ?

Offline