Jump to content

Css Styling For Ie <select> Box


squaredvision

Recommended Posts

Hey guys,How do I get CSS styling to work in IE?

<style>.dropdown {	border: 1px solid #CCC;	padding: 5px 5px 5px 5px;	font-family: Tahoma, Geneva, sans-serif;	font-size: 12px;}</style></head><body><select name="select1" class="dropdown">		<option name="test">---- test hello ----</option></select></body></html>

This doesn't show up in IE, it still looks like a normal drop down box...Is there a hack for IE so that it can be styled?Thank you,-Michael

Link to comment
Share on other sites

I don't think so. All browsers have different support for styling form elements. Some are better than others.The only way to have your own custom form elements is to make "fake" ones with Javascript that create hidden inputs with the values you want.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...