#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    27
    Rep Power
    0

    Red face formatting text in a multi select box


    This is most likely a very stupid question, and I am expecting a simple answer, but I gotta ask anyway. Is there a way to format the text (i.e. bold underline, italics...) that is in a select box (multi select box)?

    Anyone?
  2. #2
  3. Senior Member
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Aug 2003
    Location
    Toronto
    Posts
    1,614
    Rep Power
    17
    Its possible with css.. just define a class with your decorations and assign it to the select box.
    webM

    for $i(0..20){for($j=0;$j<=$i;$j+=2){print pack(qq{H2},
    substr(qq{5f5745424d415354415f},$j,2));}print qq{\n};};
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    27
    Rep Power
    0
    thats a good idea, but the only problem is I'm trying to set only certain options as bold so that they stand out. When I assign a class to one option it doesnt work.
    Last edited by Hakdogg; October 15th, 2003 at 11:29 AM.
  6. #4
  7. Senior Member
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Aug 2003
    Location
    Toronto
    Posts
    1,614
    Rep Power
    17
    hmmmm .. doubt if you can just single out specific options.... but then I never tried it.

    Let us know if you succeed... and what method you used.

IMN logo majestic logo threadwatch logo seochat tools logo