Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > select with bold

Thread Tools

select with bold

Posts: n/a

Who know how to use 2 others colors in the same option row in HTML tag

Following sentence doesn't work

Reply With Quote
Jukka K. Korpela
Posts: n/a
vito <(E-Mail Removed)> scripsit:

> Who know how to use 2 others colors in the same option row in HTML tag

You can't.

> Following sentence doesn't work
> <option><b>1</b>2</option>

No wonder, since the allowed content of <option> is plain text. Besides, <b>
means bolding, not coloring (though some browsers might simulate bolding
with colors).

If you wish to decorate stuff inside <option>, the odds are that you
shouldn't use <select> at all. For more info, please specify the URL.

Jukka K. Korpela ("Yucca")

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
In the same dropdownlistbox, I need bold, italic and different colors in Carlos Arra via .NET 247 ASP .Net 3 04-26-2006 07:46 PM
Make some dropdown items in a GridView Column Bold =?Utf-8?B?TmljayBaZHVuaWM=?= ASP .Net 1 03-27-2006 04:49 PM
Gridview Headeris always bold? Bryan ASP .Net 3 11-18-2005 05:10 PM
select of select box will select multiple in another box palmiere Javascript 1 02-09-2004 01:11 PM
Bold Italic UnderLine in TextBox Music Lover ASP .Net 1 11-26-2003 09:53 AM