I feel your pain ;)
You could try the following JavaScript-based solution:
http://www.ajaxprogrammer.com/?p=6
and the example
http://www.ajaxprogrammer.com/examples/post_6.php
Regards,
JJ
On 1/15/07, Bojana Lalic [EMAIL PROTECTED] wrote:
Hi all
Setting the width on the select element of
Hi all
Setting the width on the select element of the form works fine in all
browsers except for IE.
The width that I have set the select element to is smaller than the
width of the longest item in the dropdown list.
In IE the dropdown values get cut off at 160px (the width that I
Looks like it's a known problem :-(
Warning: on IE, if the width suggested is narrower than the presentation
of an option requires, the option is displayed truncated, with no
possibility to see the whole text (without looking at HTML source)!
why does it work the way I want it to in all other browsers? :-(
Because it's IE and IE often does things its own way which can be a PITA
but something you just have to live with. As far as I know, there's no way
around your problem in IE - you either give your select a width wide
enough
Did you not read my post about there not being anything you can do to this
in IE?
On Mon, 15 Jan 2007 15:35:40 +1000, Bojana Lalic
[EMAIL PROTECTED] wrote:
I already have set the width on the option. The thing is, that the
selected value (which also appears when no dropdown items are