Results 1 to 7 of 7

Thread: optgroup tags?

  1. #1
    MD
    MD is offline
    Ex-HEXUS.net Staff MD's Avatar
    Join Date
    Jan 2004
    Posts
    6,366
    Thanks
    18
    Thanked
    137 times in 60 posts
    • MD's system
      • Motherboard:
      • Asus P8Z77-M PRO
      • CPU:
      • i5 - i3570k
      • Memory:
      • 32GB Corsair Vengeance
      • Storage:
      • 2 x 256GB SSD's (Samsung and Crucial)
      • Graphics card(s):
      • NVidia 640
      • PSU:
      • Corsair 600W
      • Case:
      • Silverstone TJ08e MATX
      • Operating System:
      • Win 8
      • Monitor(s):
      • 24" Dell Flat Panel
      • Internet:
      • 60mb Virgin Media

    optgroup tags?

    Guys, I am trying to code some Drop Downs with null fields that separate the groups so I am using the <optgroup> tags in the form code, problem is the optgroup tag automatically seems to force the italic and the colour to remain the same, is there any way to use the optgroup tags but say set this particular entry to be a different colour or say bold instead of the standard font tages on the drop down that I define? I don't think there is and its buggin me so I need someone else to say no lol

    thanks m@
    Please do not message me about Scan Free shipping, I no longer work for HEXUS.net

  2. #2
    Senior Member Shad's Avatar
    Join Date
    Jul 2003
    Location
    In front
    Posts
    2,773
    Thanks
    22
    Thanked
    40 times in 24 posts
    Css?
    Simon


  3. #3
    MD
    MD is offline
    Ex-HEXUS.net Staff MD's Avatar
    Join Date
    Jan 2004
    Posts
    6,366
    Thanks
    18
    Thanked
    137 times in 60 posts
    • MD's system
      • Motherboard:
      • Asus P8Z77-M PRO
      • CPU:
      • i5 - i3570k
      • Memory:
      • 32GB Corsair Vengeance
      • Storage:
      • 2 x 256GB SSD's (Samsung and Crucial)
      • Graphics card(s):
      • NVidia 640
      • PSU:
      • Corsair 600W
      • Case:
      • Silverstone TJ08e MATX
      • Operating System:
      • Win 8
      • Monitor(s):
      • 24" Dell Flat Panel
      • Internet:
      • 60mb Virgin Media
    don't see how as the CSS would dictate the Form and not specifically the OptGroup tags.....
    Please do not message me about Scan Free shipping, I no longer work for HEXUS.net

  4. #4
    Pixel Abuser Spunkey's Avatar
    Join Date
    Nov 2003
    Location
    Milton Keynes
    Posts
    1,523
    Thanks
    0
    Thanked
    0 times in 0 posts
    in your <HEAD>

    <STYLE>
    OPTGROUP {font-family: arial;
    background-color: FFFFFFF}
    </STYLE>

    or whatever you want to make it look like

  5. #5
    Senior Member Shad's Avatar
    Join Date
    Jul 2003
    Location
    In front
    Posts
    2,773
    Thanks
    22
    Thanked
    40 times in 24 posts
    Quote Originally Posted by rubbishrubbishrubbishrubbishrubbishey
    in your <HEAD>

    <STYLE>
    OPTGROUP {font-family: arial;
    background-color: FFFFFFF}
    </STYLE>

    or whatever you want to make it look like
    Yup, what he said
    Simon


  6. #6
    MD
    MD is offline
    Ex-HEXUS.net Staff MD's Avatar
    Join Date
    Jan 2004
    Posts
    6,366
    Thanks
    18
    Thanked
    137 times in 60 posts
    • MD's system
      • Motherboard:
      • Asus P8Z77-M PRO
      • CPU:
      • i5 - i3570k
      • Memory:
      • 32GB Corsair Vengeance
      • Storage:
      • 2 x 256GB SSD's (Samsung and Crucial)
      • Graphics card(s):
      • NVidia 640
      • PSU:
      • Corsair 600W
      • Case:
      • Silverstone TJ08e MATX
      • Operating System:
      • Win 8
      • Monitor(s):
      • 24" Dell Flat Panel
      • Internet:
      • 60mb Virgin Media
    OMG what a dumb ass I feel......

    Code:
    				<optgroup label ="LABEL VALUE" style="background:#007bdb; color:#ffffff;"></optgroup>
    Figured it out lol, how stupid does that make me feel lol

    m@
    Please do not message me about Scan Free shipping, I no longer work for HEXUS.net

  7. #7
    MD
    MD is offline
    Ex-HEXUS.net Staff MD's Avatar
    Join Date
    Jan 2004
    Posts
    6,366
    Thanks
    18
    Thanked
    137 times in 60 posts
    • MD's system
      • Motherboard:
      • Asus P8Z77-M PRO
      • CPU:
      • i5 - i3570k
      • Memory:
      • 32GB Corsair Vengeance
      • Storage:
      • 2 x 256GB SSD's (Samsung and Crucial)
      • Graphics card(s):
      • NVidia 640
      • PSU:
      • Corsair 600W
      • Case:
      • Silverstone TJ08e MATX
      • Operating System:
      • Win 8
      • Monitor(s):
      • 24" Dell Flat Panel
      • Internet:
      • 60mb Virgin Media
    <optgroup label ="LABEL VALUE" style="background:#C00000; color:#ffffff;"></optgroup>

    <optgroup label="2002 Courses Selection">
    Please do not message me about Scan Free shipping, I no longer work for HEXUS.net

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 14-08-2003, 03:32 PM

Posting Permissions

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