Reply LinkBack Thread Tools Search this Thread
Old 19-06-2007, 11:26   #1 (permalink)
herkalees
Semantics, yay.
 
herkalees's Avatar
 
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,128
Forcing the option elements to be wider than their surround select element

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.
Attached Thumbnails
forcing-option-elements-wider-than-their-surround-select-element-issue-firefox.gif  forcing-option-elements-wider-than-their-surround-select-element-issue-ie6-ie7.gif  
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8