Jorge Fernandes
07-13-2007, 11:50 AM
I have the same problem as posted here in 2005!! (link (http://www.webdeveloper.com/forum/showthread.php?t=81818))
But now, I have it with Internet Explorer 7
The problem is:
IE doesn't expand the select box when you go past the fixed width.
Is there any way to make it work. It seems to work fine in Firefox
The solutions (that doesn't work with IE7) were:
<select width="70" style="width: 70px" name="test"
onClick="document.form1.test.style.pixelWidth = 100;"
onblur="document.form1.test.style.pixelWidth = 40;">
<option value="1">LINK1 LINK1 LINK1 LINK1 LINK1
<option value="2">LINK2 LINK2 LINK2 LINK2 LINK2
<option value="3">LINK3 LINK3 LINK3 LINK3 LINK3
<option value="4">LINK4 LINK4 LINK4 LINK4 LINK4
</select>
...or...
<select width=aut style="width:70" name="test"
onclick="document.form1.test.style.width = '100px';"
onblur="document.form1.test.style.width = '40px';">
<option value="1">LINK1 LINK1 LINK1 LINK1 LINK1
<option value="2">LINK2 LINK2 LINK2 LINK2 LINK2
<option value="3">LINK3 LINK3 LINK3 LINK3 LINK3
<option value="4">LINK4 LINK4 LINK4 LINK4 LINK4
</select>
Anyone?!
But now, I have it with Internet Explorer 7
The problem is:
IE doesn't expand the select box when you go past the fixed width.
Is there any way to make it work. It seems to work fine in Firefox
The solutions (that doesn't work with IE7) were:
<select width="70" style="width: 70px" name="test"
onClick="document.form1.test.style.pixelWidth = 100;"
onblur="document.form1.test.style.pixelWidth = 40;">
<option value="1">LINK1 LINK1 LINK1 LINK1 LINK1
<option value="2">LINK2 LINK2 LINK2 LINK2 LINK2
<option value="3">LINK3 LINK3 LINK3 LINK3 LINK3
<option value="4">LINK4 LINK4 LINK4 LINK4 LINK4
</select>
...or...
<select width=aut style="width:70" name="test"
onclick="document.form1.test.style.width = '100px';"
onblur="document.form1.test.style.width = '40px';">
<option value="1">LINK1 LINK1 LINK1 LINK1 LINK1
<option value="2">LINK2 LINK2 LINK2 LINK2 LINK2
<option value="3">LINK3 LINK3 LINK3 LINK3 LINK3
<option value="4">LINK4 LINK4 LINK4 LINK4 LINK4
</select>
Anyone?!