Yet another reason for disappearing background images in IE6
I was bit by another IE bug the other day; no matter how much I work with IE I never seem to be immune. That may be due to the fact that IE has sooo many problems. On this occasion several background images were disappearing in IE6. I tried the common solutions first: relative positioning, removing floats, setting widths, etc. and nothing worked. It took me quite a while to uncover the culprit.
href="javascript: void(0);"
I was using it in a common manner:
<a href="javascript: void(0);" onclick="switchTabs('comments')">Comments</a>
I was using it in a common manner:
<a href="javascript: void(0);" onclick="switchTabs('comments')">Comments</a>
Once I removed the href="javascript: void(0);" from the link everything worked fine. I had searched the Internet for days trying to find the solution to this bug and never found a thing. This is probably because not too many people use href="javascript: void(0);"... and now I know why.

There are no comments for this entry.
[Add Comment]