943,604 Members | Top Members by Rank

Ad:
Nov 4th, 2008
0

is it possible to color option items

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
yasmena is offline Offline
45 posts
since May 2008
Nov 5th, 2008
0

Re: is it possible to color option items

Yeah, its possible ..

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

Reputation Points: 10
Solved Threads: 0
Light Poster
yasmena is offline Offline
45 posts
since May 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: IE won't display form elements added via appendChild()
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: add text to images





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC