PDA

View Full Version : Page won't show up in IE


ZenLearningPerson
09-27-2010, 11:17 AM
Is there something wrong with the coding for my IE conditional? My page is not showing up below this code; however, I do not see what is wrong with it.

CODE:

<!--[if lte IE 7]>

<ul style="width: 157px;">

<![endif]-->

<!--[if !IE]><![IGNORE[--><!--[IGNORE[]]-->

<ul style="width: 155px;">

<!--[endif]-->

gentleone
09-27-2010, 03:34 PM
I don't know where you got this piece of information from:
<![IGNORE[--><!--[IGNORE[]]-->

But it seems to me that those tags not even exist (I even did a google search). These will break your code and that's why you don't see anyring in IE.

edbr
09-28-2010, 02:27 AM
i found it by googling but cant see any real purpose for it , if not ie you should not need this
from http://haslayout.net/condcom

<!--[if ! lt IE 7]>
<![IGNORE[--> <![IGNORE[]]>
Code for browsers that match the if condition
<!--<![endif]-->

gentleone
09-28-2010, 09:10 AM
i found it by googling but cant see any real purpose for it.

Aha... it's indeed rarely used then :)

edbr
09-28-2010, 09:35 AM
first time id seen it