Closed Bug 23475 Opened 25 years ago Closed 25 years ago

css background color on <select> only affects drop down part (not visible part)

Categories

(Core :: Layout: Form Controls, defect, P3)

x86
All
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: mozilla, Assigned: rods)

References

()

Details

Overview description:

When the background color of a select is set with css, it only affects the
dropdown part. This is only the case when a select has a drop-down part (so with
size=1, or size completely omitted) An text-input has the background color you
assign it, so you get colored textboxes, but white dropdown menu's.

Using the background color in formvalidation is not possible with these selects.
 (making it red if the user forgot to select something)

Actual results:
Backgroundcolor of <select> is white, with a colored dropdown part

Expected results:
Both have the same color

Steps to reproduce:

1: go to: http://www.abz.nl/test/formlayer.html
2: igore the two alert boxes
3: look at the text input (blue)
3: fill anything in the text input en press 'next layer'
4: look at the dropdown box (white, with blue dropdown part)

Build and dates:
Verified on W95 with the 2000010516 build
Verified on Linux with the 20000108?? build
Assignee: karnaze → rods
Reassigning to Rod.
Target Milestone: M14
setting milestone
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
fixed the html.css
This Is Not a bug this is some bad web design in the second layer in the second
field on the PC the text color is white and the background is white so its there
but you have to select it to see it. On the mac (os 9) it shows because the
background is grey. 
Updating QA contact.
QA Contact: ckritzer → bsharma
verified on build 2001-08-14-trunk
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.