www.webdeveloper.com
Results 1 to 3 of 3

Thread: fonts in a select option box

  1. #1
    Join Date
    Jan 2011
    Posts
    39

    fonts in a select option box

    I'm trying to get the text in a select option box so that each character has the same width. I've tried
    <option value="val" style="font-family:courier;">
    text here
    </option>
    with no luck.
    How do you do this ?

  2. #2
    Join Date
    Mar 2011
    Posts
    1,145
    I wouldn't be surprised if you can't change the font within <option></option> tags. But if you want to select a specific font for an entire <select> list, add your style setting to the <select> tag.
    Rick Trethewey
    Rainbo Design

  3. #3
    Join Date
    Jan 2011
    Posts
    39
    It worked. Thank you very much.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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



Recent Articles