![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
How can I set a style on a drop down list in a form? |
|
font-family: Verdana, Arial, Helvetica, sans-serif; |
|
font-size: 9px; |
#3
| |||
| |||
|
|
McEve wrote: How can I set a style on a drop down list in a form? Same as anything else in theory (assuming you mean a select element). In practise browser support is rather limited. font-family: Verdana, Arial, Helvetica, sans-serif; http://css-discuss.incutio.com/?page=Verdana font-size: 9px; http://css-discuss.incutio.com/?page=UsingPixels -- David Dorward <http://dorward.me.uk/ |

#4
| |||
| |||
|
|
How can I set a style on a drop down list in a form? Same as anything else in theory (assuming you mean a select element). In practise browser support is rather limited. The drop down is an <option> inside a <select> inside a <form> inside a table>. I've set the class on both option and select - but the drop down box does not accept the border. All other form elements do.... So what's so special about the drop down..? ![]() |
|
font-family: Verdana, Arial, Helvetica, sans-serif; http://css-discuss.incutio.com/?page=Verdana font-size: 9px; http://css-discuss.incutio.com/?page=UsingPixels The drop down box accepts the font style, it's the border it won't accept. |
#5
| |||
| |||
|
|
Its often rendered as an OS control rather then a browser control and hence supports limited styling. This varies from browser to browser. |
|
font-family: Verdana, Arial, Helvetica, sans-serif; http://css-discuss.incutio.com/?page=Verdana font-size: 9px; http://css-discuss.incutio.com/?page=UsingPixels The drop down box accepts the font style, it's the border it won't accept. Which doesn't change the problems with using pixels for font sizes and Verdana for font-family. |
|
-- David Dorward <http://dorward.me.uk/ |
#6
| |||
| |||
|
So what's so special about the drop down..? ![]() Its often rendered as an OS control rather then a browser control and hence supports limited styling. This varies from browser to browser. So it's not possible to set border on a drop down box? |
#7
| |||
| |||
|
|
McEve wrote: So what's so special about the drop down..? ![]() Its often rendered as an OS control rather then a browser control and hence supports limited styling. This varies from browser to browser. So it's not possible to set border on a drop down box? As I said before - its possible - but your browser doesn't appear to support it. -- David Dorward <http://dorward.me.uk/ |
![]() |
| Thread Tools | |
| Display Modes | |
| |