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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can you set the z-index of SELECT tag? 1

Status
Not open for further replies.

tenplusplus

Technical User
Dec 18, 2002
7
US
I am trying to get a css layer to appear over (i.e. have a higher z-index value than) an HTML-based SELECT pulldown menu. As many of you may have experienced, the SELECT tag ignores the z-index you assign it and the z-index assigned to the ccs layer. I just found a posting by a member of the IE development team at Microsoft that said there was basically no fix for this, and that the SELECT tag will *always* be above anything else on the page. However, his posting was from 1999, so I was hoping that there might be new information on this? Are there any fixes available for it? Thanks for the help!
 
i dont think you can, the same goes for flash movies too!! [Hammer]
Nike Failed Slogans -- "Just Don't Do It!"
 
You could try this way:
faq215-2961 Hope I helped / Thanks for helping
if ((Math.abs(x)<10&&Math.abs(y)<10) && (((parseInt(Math.abs(x).toString()+Math.abs(y).toString())-Math.abs(x)-Math.abs(y))%9)!=0)) {alert(&quot;I'm a monkey's uncle&quot;);}
 
Thanks to HellTell for his post about getting the <SELECT> tags to disappear when javascript/CSS-based dropDown menus occur. As can be read in the FAQ, the z-index is ignored by the <SELECT> tag, but the problem can be solved by making the <SELECT> invisible when a dropdown menu appears over it. Problem solved! Thank you!
 
Want to know something odd?

Netscape 7 got it straightened out. Divs with a higher z-index can go over <select>s

What a trip. Why can't they both work?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top