On Feb 13, 2:03 am, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> It's not really a question of IE6 liking that code or not. It's invalid
> HTML, so all bets are off.
>
> The real thing to mark for future reference should be:
>
> http://validator.w3.org/
>
> When things are acting strange, run your code through the validator. Valid
> HTML will help you get more consistent results across browsers.
>
> -Mike

Theoretically it is valid XHTML and with an XHTML Doctype the
validator won't complain. We even wrote our own custom validator to
catch this kind of error.

But IE - with it's non-existent support for XHTML as XML - will
interpret that empty tag as the opening tag, putting everything that
follows into it, that's why it's causing problems.


--Klaus

Reply via email to