<select name="menuId" multiple="true" size="10"
style="width:expression(this.offsetWidth>100?'auto':'100')">
</select>
下面有个详细解释的文章:http://homepage.yesky.com/250/2385250.shtml
设置列表框最小宽度且可随着内容变宽的方法
最新推荐文章于 2021-02-27 07:30:50 发布
<select name="menuId" multiple="true" size="10"
style="width:expression(this.offsetWidth>100?'auto':'100')">
</select>
下面有个详细解释的文章:http://homepage.yesky.com/250/2385250.shtml