![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there a way to change the font-family and font-size for each individual option in a select menu? |
|
select size="1" option style="font-family: Arial; font-size: 8px">One</option option style="font-family: Tahoma; font-size: 10px">Two</option option style="font-family: Verdana; font-size: 12px">Three</option /select |
|
I see that I can change the color using style="color: whatever", but none of the other attributes change this way. |
#3
| |||
| |||
|
|
Is there a way to change the font-family and font-size for each individual option in a select menu? Something along the lines of: select size="1" option style="font-family: Arial; font-size: 8px">One</option option style="font-family: Tahoma; font-size: 10px">Two</option option style="font-family: Verdana; font-size: 12px">Three</option /select I see that I can change the color using style="color: whatever", but none of the other attributes change this way. You can change background color too but this is circa all what you can do with |
#4
| |||
| |||
|
| http://www.dev-archive.net/articles/...S-caveats.html (mostly ignore the disclaimer; the content, though old, is much more fresh and meaningful than most of the CSS stuff around) |
![]() |
| Thread Tools | |
| Display Modes | |
| |