Archived

This topic is now archived and is closed to further replies.

Nep

HTML Transparency with <select> Dropdown

Recommended Posts

I was wondering if it was possible to make a html dropdown menu using <input id="searchText" maxlength="256" value="" onFocus="this.filters.alpha.Opacity=''75''" onBlur="this.filters.alpha.Opacity=''25''" onkeypress="if(event.keyCode==13) { submit(this.value); }"> </div> <!-- STYLE SHEET PART --> #searchmenu { position:absolute; left: 6px; bottom: 5px; filter: Alpha(opacity=35); } #searchmenu select { font: 9x Tahoma; color: black; background-color: white; filter: Alpha(opacity=35); } #searchmenu option { font: 9x Tahoma; color: black; background-color: white; filter: Alpha(opacity=35); } #searchmenu input { font: 9x Tahoma; color: black; background-color: white; width: 95px; height: 16px; filter: Alpha(opacity=35); } The menu still remains completely opaque. Also, on a side note, what is the syntax to alter the button used in the dropdown?

Share this post


Link to post
Share on other sites
Using MS-only extensions? shame shame!

you might find a hint here though:

http://lists.w3.org/Archives/Public/www-style/2001Mar/0161.html

Share this post


Link to post
Share on other sites