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

    Join Date
    Mar 2005
    Posts
    355
    Rep Power
    15

    I need selection boxes with style


    the code below draws a nice hairline textbox

    <input type='text' name='name' style="border:1px solid black; font-size: 10px; font-family: arial">

    the colde below draws a nice hairline texarea

    <textarea name='msg' rows='10' cols='40' style="border:1px solid black; font-size: 12px; font-family: arial">

    but the code below doesn't change anything

    <select name='sel' style="border:1px solid black; font-size: 10px; font-family: arial">
    <option value='1'>first</option>
    <option vakue='2'>second</option>
    </select>


    Is there a way to remove this ugly shade from a selection menu as it exists for textboxes and textareas?


    Thanks for your help!
  2. #2
  3. Thanks Johnny Hart (BC) R.I.P.

    Join Date
    May 2003
    Location
    Dallas
    Posts
    5,262
    Rep Power
    1960
    Select boxes are os widgets, and not drawn by the browser. There is little you can do.

    Styling form controls pt.2

    sorry,

    gary
    There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

    My html and css workshop, demos and tutorials.
    Ask a better question, get a better answer.

IMN logo majestic logo threadwatch logo seochat tools logo