• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

Make option tag bold in IE7???

Hi,

How can I make an option tag bold in IE7?

This works in firefox either by doing

<option class="boldText">text here</option>  or by using inline styles.   However the same does not work in IE7.

How can I achieve the same in IE7?

Thanks,

-ws
0
Westside2004
Asked:
Westside2004
1 Solution
 
basicinstinctCommented:
You can change the color and background-color of each option in a select, so I suggest you do that instead of using bold - it will still server the purpose of drawing attention to that particular item.

IE won't apply the bold formatting to the option, another example of how it is inferior to firefox yet again.  

Many others have tried before you:

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/HTML/Q_20892956.html

http://forums.asp.net/p/990216/1286491.aspx#1286491
http://www.codingforums.com/archive/index.php?t-68714.html
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now