Forum Moderators: not2easy
Using css I've set the with of the form menu basically too low, because there's words in the menu that are larger.
Firefox is smart and resizes the menu once I click on it. IE isn't smart and just cuts off words, plus the menu is way to long.
What do I need to do, to make IE display the drop-down form menu the way Firefox does? I can't just set the width higher because then the two drop-down menues wouldn't fit into the box anymore.
Thanks guys.
Bigzed.
[edited by: engine at 9:29 am (utc) on Oct. 29, 2007]
[edit reason] please post code, not urls, thanks. [/edit]
Nevertheless it only works in Firefox and not in Internet explorer! What is the javascript-part for? I tried it with and without, the effect was the same (therefore working in FF, not working in IE).
Thanks again,
Bigzed.
<style>
#selectable select {width:100px}
#selectable:hover select {position:absolute;width:240px}
</style> <a href="javascript://" id="selectable"><select ><option>Something</option><option>Something</option></select></a>
That should be fine in IE; my mistake. The javascript:// is so that when someone clicks it, it won't navigate the page; you can put in "#" if you prefer; but it could cause jumping up. IE 6 only allows :hover on <a > elements, that's the reason for the whole <select> inside <a>