is it possible to color option items

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: May 2008
Posts: 43
Reputation: yasmena is an unknown quantity at this point 
Solved Threads: 0
yasmena yasmena is offline Offline
Light Poster

is it possible to color option items

 
0
  #1
Nov 4th, 2008
PLZ I NEED HELP WITH THAT:

<option value="1" >option1</option>

how can i color this option or highlight it

the MAIN problem is i have a drop down menu for parents and their child categories so i need to highlight the parents
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 43
Reputation: yasmena is an unknown quantity at this point 
Solved Threads: 0
yasmena yasmena is offline Offline
Light Poster

Re: is it possible to color option items

 
0
  #2
Nov 5th, 2008
Yeah, its possible ..

<option style='color:gold; font-weight:700;' value="option1"> Gold </option1>

Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC