If you need to use void(0) in some situations so that you will not be thrown to the top of the window, you need to know that void(0) doesn’t work in Internet Explorer 6! This type of problem can be avoided by using another javascript property, just write return false; in the onclick property.
Something like this:
<a href="#" onclick="yourFunction(); return false;">Link</a>
September 9, 2009 by admin in
Hacks for IE
Tagged
ie6,
void(0)
Internet Explorer 6 sets the minimum height for a div 10px or so, the problem is what can you do if you want a 5px div?
Well, it’s not very hard, this can be done with a small css trick. You include
line-height: 5px;
property and that’s it, problem fixed
It seams that you can not set a background(image/color) to a <tr> tag in a table. This issue is the same in IE6.
P.S. Problem fixed in IE8, Thank God!
May 6, 2009 by admin in
Hacks for IE