select with bold

V

vito

Hi

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

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

Jukka K. Korpela

vito said:
Who know how to use 2 others colors in the same option row in HTML tag
<SELECT>

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top