Expand|Select|Wrap|Line Numbers
- <select name="test" >
- <option value="1">option</option>
- <option value="2"><p style="background-color:#FF0055;">again</p></option>
- </select>
because i am getting the option text from database.
so i want to apply style to the text only.
because i have no chance to use styles in the option tag. that is strictly avoided by my existing code.i am allowed to do changes to the text part only.
i am not allowed to touch option tag or select tag.
i tried like this also
Expand|Select|Wrap|Line Numbers
- <option value="2"><font color=red>again</font></option>