- Messages
- 5,508
- Reaction score
- 35
- Points
- 48
How to fix that in firefox?
I'm using:
Code:
select {font-family:verdana,arial,helvetica; font-size:10px; background-color: #111; color:#aaa;}
Last edited:
select {font-family:verdana,arial,helvetica; font-size:10px; background-color: #111; color:#aaa;}
Which version of Firefox and which OS? Always describe the software environment.
Setting background-color works for me with FF 1.5-3.5 on OS X 10.4. Keep in mind that form controls are usually OS native widgets, so if a particular browser doesn't apply styling to a form control, there's usually nothing you can do about it (aside from contributing a patch for the browser source).
Also, don't use 'px' for font sizes; use 'em' or '%'. The 'px' unit isn't flexible enough. It will either be too small on high resolution screens or too large on low resolution screens, and doesn't let the user change the font size (very important for people with bad vision).