Solved

select box

Posted on 2001-06-10
8
490 Views
Last Modified: 2011-09-20
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.
0
Comment
Question by:Evyatar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 15

Expert Comment

by:a.marsh
ID: 6173108
There is limited browser support for styles on form elements - particularly on select elements.

What web browser are you using?

Ant
0
 
LVL 15

Expert Comment

by:a.marsh
ID: 6173113
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
 

Author Comment

by:Evyatar
ID: 6173143
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 19

Accepted Solution

by:
DreamMaster earned 100 total points
ID: 6173180
You can't...

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

Max.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6173199
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
 

Author Comment

by:Evyatar
ID: 6173212
O.K
if there is consensuses about the impossible of my request
the points going to Max
and thanks for the rest
0
 

Author Comment

by:Evyatar
ID: 6173215
O.K
if there is consensuses about the impossible of my request
the points going to Max
and thanks for the rest
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6175993
Thanks for the points Eyvatar.. :-)

Happy to help...

Max.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question