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!

Creating a Flat border around a Select Form with css

Status
Not open for further replies.

monoone

Programmer
May 24, 2002
219
US
Hello;

I am trying to create a Select Form Field with CSS that enables me to get rid of the "chisled" border look.

I know if I have a simple text box I can do this.

<input type=&quot;text&quot; name=&quot;search&quot; size=&quot;15&quot; style=&quot;background: #eaeaea; border: 1px solid Gray;&quot;>

---------------------------------------------------

I want the same look for a drop-down select box

--------------------------------------------------

<select name=&quot;selectname&quot; SIZE=&quot;1&quot; style=&quot;background: #eaeaea; border: 1px solid Gray;&quot;>
<option style=&quot;background-color:#eaeaea;&quot;>Englsih</option>
<option style=&quot;background-color:#eaeaea;&quot;>German</option>
<option style=&quot;background-color:#eaeaea;&quot;>Italian</option>
<option style=&quot;background-color:#eaeaea;&quot;>French</option>
</select>

-----------------------------------------------

Can anyone help me?

Thanks,

Eric
 
Unfortunately combo-boxes are rendered as system controls rather than HTML controls in IE. If the formatting is a hard and fast requirement I'd suggest looking into one of the many DHTML menu scripts floating about.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top