Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting options

Status
Not open for further replies.

fpgiv

Programmer
Oct 1, 2003
91
0
0
US
Hi,
Is it possible to format the text inside of an option tag? I want the first part of an entry to be bold, and the rest of the test to be normal. Is this doable?
Thanks.
 
You mean you want something like this?

[tt]<option><strong>Hello</strong> There</option>[/tt]

Not possible. You'd have to create some overly-difficult div object that will APPEAR to be a drop-down box. It's not worth the effort.

You CAN, however, have your options appear like this:

Beer
Budweiser
Coors
Michelob
Food
Pizza
Ice Cream
Donuts

Where you would be able to format "Beer" and "Food" to look the same.

*cLFlaVA
----------------------------
[tt]tastes great, less filling.[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top