Results 1 to 4 of 4

Thread: Any(!!) suggestions please

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343

    Unhappy Any(!!) suggestions please

    Hello,

    I am still trying to get a solution to a problem which posted a while ago.

    Is there NO(!!!) way to bold individual items within a dropdown menu.

    IE... I have 5 items in my dropdown - some must be bold, other not!!

    Code:
    <select name="Test" size="1">
        <option value="This one is BOLD">This one is BOLD</option>
        <option value="This one is NOT">This one is NOT</option>
        <option value="This one is NOT">This one is NOT</option>
        <option value="This one is BOLD">This one is BOLD</option>
        <option value="This one is BOLD">This one is BOLD</option>
      </select>
    Please, any suggestions. My problem is that I have a list of about 20
    items in my dropdown, but these items must be "grouped" by category and
    I do not know how to clearly define the different categories/items within
    the dropdown - thats why I thought about using BOLD!! Any other suggestions??

    I MUST use a dropdown/select - it's not my choice!!

    Thanks,
    T

  2. #2
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    no, i pretty sure you can't, i never seen it!!

    why not do like in here, the dropdown
    at the bottom, the forum jump:

  3. #3
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602
    You can try this though:

    ****************************************************
    <html>
    <head>
    <title></title>

    <style TYPE = "text/css">
    .category{background-color:blue;color:white;}
    </style>

    </head>
    <body>
    <form NAME = "frmSelect">

    <select name="Test" size="1">
    <option value="This one is BOLD" CLASS = "category">This one is BOLD</option>
    <option value="This one is NOT">This one is NOT</option>
    <option value="This one is NOT">This one is NOT</option>
    <option value="This one is BOLD" CLASS = "category">This one is BOLD</option>
    <option value="This one is BOLD" CLASS = "category">This one is BOLD</option>
    </select>

    </form>
    </body>
    </html>

    ****************************************************

    You can change the background color and font color in the select boxes.

    Chris
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343

    Talking Thx!!!!

    Thank you very much for the replies!!

    I am using a combination of both suggestions and it looks great!!

    Thanks again,
    T

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width