#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Norcross, GA
    Posts
    458
    Rep Power
    15

    css - controlling height of drop down boxes


    Is it possible to control the height of <select></select> form elements?

    The default height is (guessing) around 20px -- I'd like to have one display at 15px tall. Can it be done?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Location
    The Netherlands
    Posts
    200
    Rep Power
    14
    I think the height property is directly linked to the font-size.

    You could set the font-size to enlarge your listbox (I think there's a minimum value attached to this btw).
    (STYLE="font-size: 15px;")

    Note that STYLE="width: xxx"; works just fine, but STYLE="height: xxx"; does NOT work.

IMN logo majestic logo threadwatch logo seochat tools logo