Friday…
Once again it is Friday. yay!
I was made aware of a strange CSS bug today. Although I’ve encountered numerous CSS browser bugs, I’d never heard of this one. It turns out the select boxes basically have z-index:infinity so they overlay any other element in the page.
I guess my real problem with calling this a bug is…why would you want something to cover a select box? Aren’t they there to drop down and let the user select something? What would be the point of having them overlaid by a div or other element?
Can anyone explain why you’d ever need to cover a select list menu?
Update
Ok, ok…I guess there is the case of DHTML type menus that pop open in the vicinity of a select menu. I guess one solution might be to use javascript and the DOM to hide the select box when the menu opened. That seems like a fairly flaky way to go, but…
Of course, this isn’t a problem in Firefox or Mozilla…






