select with bold

Discussion in 'HTML' started by vito, Sep 12, 2006.

  1. vito

    vito Guest

    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>
    vito, Sep 12, 2006
    #1
    1. Advertising

  2. vito <> scripsit:

    > 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.

    --
    Jukka K. Korpela ("Yucca")
    http://www.cs.tut.fi/~jkorpela/
    Jukka K. Korpela, Sep 12, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Music Lover

    Bold Italic UnderLine in TextBox

    Music Lover, Nov 26, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    819
    Teemu Keiski
    Nov 26, 2003
  2. Carlos Arra via .NET 247
    Replies:
    3
    Views:
    401
    Peter Brunone [MVP]
    Apr 26, 2006
  3. Bryan

    Gridview Headeris always bold?

    Bryan, Nov 17, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    5,738
    Bryan
    Nov 18, 2005
  4. =?Utf-8?B?TmljayBaZHVuaWM=?=

    Make some dropdown items in a GridView Column Bold

    =?Utf-8?B?TmljayBaZHVuaWM=?=, Mar 27, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    594
    Benjamin Strackany
    Mar 27, 2006
  5. palmiere
    Replies:
    1
    Views:
    396
    Erwin Moller
    Feb 9, 2004
Loading...

Share This Page