Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Colourising Options

    Hi there:-)

    I have been asked to colourise options in a list, ie in the drop-down, if it says Red then it is shown in red etc.

    Does anyone know of a way to do this please? I have searched high and low and can't find anything useful

    I Hope someone can help

  • #2
    Regular Coder
    Join Date
    Jul 2004
    Location
    mile high city
    Posts
    482
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    <select>
      <option style="color:red;">Red</option>
      <option style="color:blue;">Blue</option>
      <option style="color:green;">Green</option>
    </select>
    And welcome to the forums.
    Computer, kill Flanders... Did I hear my name? My ears are burning...
    Good start. Now finish the job.

  • #3
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hey!

    That worked perfectly - Thank you so much

    And thanks for the warm welcome too!!


  •  

    Posting Permissions

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