select box

How can I remove (or apply color) the border from select box .
(for example:
<select name="st" style="?">
<option>111111111111111</option>
<option>222222222222222</option>
<option>3</option>
</select>)
I had tried many types of style like:
style="border:solid orange" - doesn't work!

Thanks.
EvyatarAsked:
Who is Participating?
 
DreamMasterConnect With a Mentor Commented:
You can't...

The border of a select box is one thing you cannot change...

Max.
0
 
a.marshCommented:
There is limited browser support for styles on form elements - particularly on select elements.

What web browser are you using?

Ant
0
 
a.marshCommented:
This, for example, will work in IE 5

<html>
<head>
</head>
<body>
<form>
<select style="background-color: #990000; color: #ffffff;">
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
<option value="4">Four</option>
<option value="5">Five</option>
</select>
</form>
</body>
</html>

Ant
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
EvyatarAuthor Commented:
Hi,
I'm using ie5.
anyway, your solution is regard to the background color
and my problem is the BORDER of the selectBox
I just wish to remove it.
thanks anyway.
0
 
COBOLdinosaurCommented:
Max is correct about the border there is no standard browser that supports border changes for select; that is also true of the scroll bars on the select. Ant is also correct on the limited styling available in IE5+.

Cd&
0
 
EvyatarAuthor Commented:
O.K
if there is consensuses about the impossible of my request
the points going to Max
and thanks for the rest
0
 
EvyatarAuthor Commented:
O.K
if there is consensuses about the impossible of my request
the points going to Max
and thanks for the rest
0
 
DreamMasterCommented:
Thanks for the points Eyvatar.. :-)

Happy to help...

Max.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.