Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Nov 2009
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Specify <option> width in <select> menu?

    Is there a way display the <option> box larger than the <select>?


    Code:
    <select>
    
      // I want to set the width of the box with the items below
    
      <option>I drive a Mercedes-Benz car</option>
      <option>I drive a BMW car</option>
    
    </select>
    Please help
    Last edited by archipuir; 12-27-2009 at 04:43 PM.

  • #2
    Regular Coder
    Join Date
    Jun 2008
    Posts
    173
    Thanks
    2
    Thanked 9 Times in 9 Posts
    as far as i know it cant be done alone with css.

    check these custom <select> boxes

    http://ryanfait.com/resources/custom...radio-buttons/

    http://davidwalsh.name/faux-select

    vineet
    Last edited by vineet; 12-27-2009 at 05:03 PM.

  • #3
    New Coder
    Join Date
    Nov 2009
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks


  •  

    Posting Permissions

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