Results 1 to 2 of 2

Thread: Font size in selection box in HTML

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Question Font size in selection box in HTML

    How do I change the font size of the text in a selection box in HTML?

  2. #2
    Fanatic Member cpradio's Avatar
    Join Date
    Apr 2002
    Posts
    616
    You have to use CSS:
    Code:
    <style type="text/css">
     select {
      font-family: verdana, Arial, san-serif;
      font-size:    10px;
     }
    </style>
    
    .
    .
    .
    
    <select name="options" size="1">
     <option value="1">Value 1</option>
     <option value="2">Value 2</option>
     <option value="3">Value 3</option>
     <option value="4">Value 4</option>
    </select>
    http://cpradio.net/
    Administrator @ WDForums and a Moderator @ WebXpertz City Forums

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