|
John,
It looks like you can do this a couple of different ways. Check out the code sample below:
<html>
<head>
<style>
.red
{
color: red;
font-size: 2em;
}
</style>
</head>
<body>
<select multiple size='5'>
<option>Text 1</option>
<option>Text 2</option>
<option class="red">Text 3</option>
<option>Text 4</option>
<option style="color: blue; font-weight: bold;">Text 5</option>
</select>
</body>
</html>
Let me know if this helps...
|
|
Expert:
|
rcastagna
|
|
Date:
|
Oct 10, 2007
|
|
Time:
|
07:22
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
Castagna...You are a genius. It worked great.
J
|
|
Expert:
|
john2
|
|
Date:
|
Oct 10, 2007
|
|
Time:
|
07:27
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
what if i just want to change the color of '4' in this option <option>Text 4</option>
can anyone please suggest ?
|
|
Expert:
|
sivarampratapa
|
|
Date:
|
Apr 30, 2008
|
|
Time:
|
16:04
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
|
|
|
|
This question has been answered, and points have been rewarded to the following experts:
You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for this question by clicking on the "Answer Summaries" Tab.
|
|