Board index   FAQ   Search  
Register  Login
Board index php forum :: HTML JavaScript

Drop down- Color

Javascript coding ..

Moderators: macek, egami, gesf

Drop down- Color

Postby Balaji Ramachandran » Mon Feb 28, 2005 3:18 am

How to set a color for the option value in select , i.e Combo box, I want to have the Second option with color ie, Ticket(black)- SoldOut(RED) . :help:
Balaji Ramachandran
New php-forum User
New php-forum User
 
Posts: 2
Joined: Fri Feb 25, 2005 10:47 pm

Postby ruturajv » Mon Feb 28, 2005 10:47 pm

Code: Select all
<select ..>
<option style="background-color: #ffffff;">White</option>
<option style="background-color: skyblue;">Skyblue</option>
</select>


I have a good friend by the Same name that ya have ... :D
User avatar
ruturajv
php-forum Super User
php-forum Super User
 
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India


Return to JavaScript

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron