Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form select inputs cover popup menus?

Status
Not open for further replies.

aarrgghh

Technical User
Sep 5, 2002
60
US
Does anyone know why my form inputs cover my drop down menus. For example, when I move the mouse over a navigation button and the popup menu appears, it is partially covered by the form inputs below it. The inputs that consistently, across browsers, cover my menus are the SELECT inputs, and depending on the browser, the text input cover the menus occasionally. Any thoughts or ideas welcome.

Thanks.
 
this is a well-documented problem caused by the fact that in many browsers these controls are rendered by the OS, not the browser, and so are always displayed in front of all other browser elements.

the "fix" is to hide your form elements when the menu is shown, and unhide them when the menu is not shown.


=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
One more question then, how come in IE 6 only the select options cover the menus and not the text boxes? Is it because the OS only displays the select menus and the browser displays the text box?
 
depends on the browser...Mozilla renders its own select elements, so you can position any html element over them.


=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top