Sunday, July 18, 2010

yet another IE6 bug

A few minutes ago I was shown a web page that contained links pointing to internal anchors.
The page works in all browsers, except Internet Explorer 6.

Here is what the link looks like:

<a id="HowCanIPay" name="HowCanIPay"></a>

Note that there is no text just before the closing 'a' tag.
That's what the problem is for IE6.

By simply changing it to

<a id="HowCanIPay" name="HowCanIPay">&nbsp;</a>


everything works again!


ps: Comments and/or links to this article are most welcome!


No comments:

Post a Comment