Andrew Green wrote:
>I think I may have encountered a weird IE bug. I've boiled it down to
>a (fairly) minimal test case at:
>I'm using IE6/Win. I can't vouch for IE5 on Windows, but no browser
>I've tried on the Mac exhibits the problem, including IE.
>In a nutshell, the labels and <div> background colours don't display on
>this page -- until you resize the browser window, which makes the ones
>for the regular <input> appear. Highlighting page objects by dragging
>the mouse also makes them appear (partially -- think NN4 background
>colours on block-level elements).
>Removing the <select> element from the page prevents the problem from
>manifesting. Even more weirdly, removing the background-color CSS
>declaration on the form element also gets rid of the problem.
I don't have time to investigate this right now, but I don't think it's
the peekaboo bug. I can't get the labels to show up no matter what I do
-- resize, highlight, minimize and maximize, refresh, cover with another
window then reveal, etc. Plus, the peekaboo bug is related to floats,
and there are no floats here.
However, you may still want to try the Holly Hack, as well as the
position: relative trick. Both work well for squashing IE bugs.
BTW, it only occurs in IE6, not 5.5 or 5.0.
Zoe M. Gillenwater
Highway Safety Research Center
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/