Closed Bug 187691 Opened 22 years ago Closed 22 years ago

The border of a <select> can't be changed with css

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: daniel_furrer, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212

It is not possible to change the color of a <select>.
Works for <input> and <textarea>,...

Reproducible: Always

Steps to Reproduce:
Try this:

<select size="2" style="border: #000 1px solid;">
<option>op1</option>
<option>op2</option>
</select>
Actual Results:  
The usual border appears

Expected Results:  
It should use the right color and border-style
Sorry, but border's properity for select could not be changed by CSS. You could
read this letter for info:
http://lists.w3.org/Archives/Public/www-style/2002Jan/0066.html
You can set the border-color.  You cannot set the border style or width -- see
bug 94387 and bug 106317.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
Despite the last comment this issues appears to have been fixed !! Could it's status be changed to resolved please ?

Thanks,
Owen
You need to log in before you can comment on or make changes to this bug.