Evyatar
asked on
select box
How can I remove (or apply color) the border from select box .
(for example:
<select name="st" style="?">
<option>111111111111111</o ption>
<option>222222222222222</o ption>
<option>3</option>
</select>)
I had tried many types of style like:
style="border:solid orange" - doesn't work!
Thanks.
(for example:
<select name="st" style="?">
<option>111111111111111</o
<option>222222222222222</o
<option>3</option>
</select>)
I had tried many types of style like:
style="border:solid orange" - doesn't work!
Thanks.
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
<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
ASKER
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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&
Cd&
ASKER
O.K
if there is consensuses about the impossible of my request
the points going to Max
and thanks for the rest
if there is consensuses about the impossible of my request
the points going to Max
and thanks for the rest
ASKER
O.K
if there is consensuses about the impossible of my request
the points going to Max
and thanks for the rest
if there is consensuses about the impossible of my request
the points going to Max
and thanks for the rest
Thanks for the points Eyvatar.. :-)
Happy to help...
Max.
Happy to help...
Max.
What web browser are you using?
Ant