36 users online (0 members and 36 guests)  


  Results 1 to 3 of 3

Related

  1. Multi-Colored Border    Forum: HTML Forum
    Replies: 5
  2. ASP dropdowns won't work in Firefox    Forum: ASP Forum
    Replies: 1
  3. colored border    Forum: HTML Forum
    Replies: 3
  4. Colored Scrollbars!!!!!!    Forum: HTML Forum
    Replies: 24
  5. Different Colored Links On One Page?    Forum: CSS Forum
    Replies: 3
  1. #1
    jjasper's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2002
    Posts
    3

    can dropdowns have colored fonts?

    trying to get a dropdown to have a red font, is this possible?

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi there. Welcome to the forums.

    What you ask is indeed possible, using Style Sheets.

    Code:
    <select name="testColor" style="font: 16px/20px verdana; color: red;background-color: #ddd;">
    <option>Test one</option>
    <option>Test two</option>
    </select>
    Have a play with the values. For an intro to CSS ( Cascading Style Sheets ) then click the link in my signature.

    have fun.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    jjasper's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2002
    Posts
    3

    Thank-You

    Thank-you for the info, glad to be part of this forumn



Tags for this Thread