<select style="width:100">
<option>1
<option>2
</select>

解决方案 »

  1.   

    <td width=100>
    <select style="width:100%">
    <option>1
    <option>2
    </select>
    </td>
      

  2.   

    如果是这样呢
    <select style="width:100">
    <option>1
    <option>12345678910987654321</select>
    我想让<option>12345678910987654321在选中后能全部显示出来呢?
      

  3.   

    try:
    http://lucky.myrice.com/temp/select.htm
      

  4.   

    针对net_lover的思路,重新写了一个
    <input id="input1" style="position:absolute;top:100px;left:100px;width:100px;">
    <select id="s1" style="position:absolute;top:100px;left:100px;clip:rect(auto auto auto 81);width:100;z-index:1" onclick="input1.value=this.options[this.selectedIndex].text">
    <option>1111</option>
    <option>22222222222222222222</option>不过这样也不太好,因为只能多出那个select按钮的长度而以
      

  5.   

    <select style=width:100 onchange="this.style.width=this.options[this.selectedIndex].text.length*7+25">
    <option>12345
    <option>1234567890
    <option>123456789098765
    <option>1234567890987654321
    </select>