You are here: Re: Correct syntax conditional comment? « HTML « IT news, forums, messages
Re: Correct syntax conditional comment?

Posted by andrew on 12/03/07 22:53

On 2007-12-03, dorayme <doraymeRidThis@optusnet.com.au> wrote:

[...]

> And just in case both answers (by Harlan and Dylan) are not clear
> enough, it is simple enough if you think what the conditional is
> doing.

In fact the problem was that rather than making an effort to fully
/understand/ what I was doing I blindly pasted code with little
understanding. It validated of course because the validator could not
see it.

> Nothing inside the conditional comments is visible to any but IE.
> So that settles one question, namely it does not matter what is
> there for browsers other than IE, never mind a trailing slash,
> you could have a croaking frog in there and they would not know.
> And now the question about what you want IE 5 to see. Well, that
> is really simple too. What do you want it to see? You would not
> want it to see a trailing slash surely, that is not how it is
> done in 4.01. not even for IE5!

Thanks for expressing this so clearly. I am in the middle of stripping
the slash from my hobby site as we speak and cursing myself for not
/thinking/ about what I was doing.

Andrew
--
"For the God who sings"
http://www.andrews-corner.org/ftgws.html

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация