is it possible in Php to make the option items colored or to highlight some items???????????

Recommended Answers

All 3 Replies

please give more DETAILED information. its really hard to help when i have no idea what option items or some items relates to.

meaning 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 :)

this is an html/javascript problem. php won't really help.

in html and css, there really isn't anything that will work across all major browsers. javascript is probably your best answer. sorry to say, but i am not a javascript expert and have no idea how to help. hopefully someone else can help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.