|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
hi:
How to change background and scrol color of combo box? I apply style sheet in the tag of select but no effect appear. Thanks Burhan |
|
#2
|
||||
|
||||
|
You can only applied a limited number of styles to the OPTION tag - off-hand, I believe you can only change background color and font-weight.
|
|
#3
|
|||
|
|||
|
This works
<style type="text/css">
.selectboxes {background-color:000000} </style> <select name="test" class="selectboxes"> <option value="Test Value">Test Value</option> </select> |
|
#4
|
||||
|
||||
|
Quote:
Add a hash to the front of your color value, and yes, that will work. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > how to change background color of combo box? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|