Dropdownlist width in IE

Posted by NimsDotNet on Stack Overflow See other posts from Stack Overflow or by NimsDotNet
Published on 2008-09-16T16:02:41Z Indexed on 2010/06/03 19:54 UTC
Read the original article Hit count: 218

In IE, the dropdown-list takes the same width as the dropbox (i hope i am making sense) whereas in Firefox the dropdown-list's width varies according to the content.

This basically means that i have to make sure that the dropbox has to be wide enough to display the longest selection possible. this makes my page look very ugly :(

Is there any workaround for this problem? How can i uses CSS to set different widths for dropbox and the dropdownlist?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html