Welcome to WebmasterWorld Guest from 54.145.136.73

Forum Moderators: incrediBILL

IE7 and very long <select> elements

cannot alter height

   
2:51 pm on Jun 6, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I cannot find away to alter the height of the list of options displayed when using very long lists of in a <select> in IE7 - does any one have a solution?

thanks

11:40 am on Jun 9, 2008 (gmt 0)

5+ Year Member



I'm pretty sure the option tag is unable to be styled at all in IE so the only way around it would be to make the select the width of the widest bit of content.

It's a real pain... :(

5:15 pm on Jun 9, 2008 (gmt 0)

WebmasterWorld Senior Member penders is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



...height of the list of options displayed when using very long lists of in a <select>

I'm pretty sure the height of the dropdown (I assume you mean dropdown (size="1"), as opposed to a standard list) is very much dependant on the browser and should hopefully shrink depending on the height of the viewport. Is the dropdown extending beyond the visible area in IE7?

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month