| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| DesignersTalk > Forcing the option elements to be wider than their surround select element |
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Semantics, yay.
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,128
|
This is proving to be a bitch so far; I'm trying to find a method that will allow me to define a width for the <option> elements that is wider than their parent <select> element. In the css I have: select#IDName {width:10em;} select#IDName option {width:25em;} and in Firefox, it works beautifully. IE6 & 7, not so much. (See my attached images for mockup-examples). I would post the URL, but... no. |
|
|
|
![]() |