Tuesday, July 11, 2006

Fix for z-index bug for IE 6.* (Select box is always on top)

Select boxes in IE are always on top of any other div or pop up windows or other elements. Even after setting z-index for select box as -1 and z-index for div tags which holds pop up window as 100 it does not work for IE.

Here is more about this bug.

http://blogs.msdn.com/ie/archive/2006/01/17/514076.aspx

They have fixed this error in IE 7 which is in beta version now.

Here is a work around or fix for this bug.

http://dotnetjunkies.com/WebLog/jking/archive/2003/10/30/2975.aspx

The fix works really well in IE and firefox (it was showing properly before also).

No comments: