Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有一天我为我的下拉列表使用了 selected.jquery.js 插件,但它会自动获取宽度大小,请有人知道如何为我的所有下拉列表选择固定长度。
谢谢。!
我以前和你遇到过同样的问题。我通过设置下拉菜单的宽度和最大宽度来解决这个问题。
<select class="chzn-select" name="chznName" > ... </select> <style> select, option { width: 500px; max-width: 500px; } </style>
Chosen 将使用您创建的实际下拉菜单的宽度创建所选下拉菜单。
I have a webpage that has several <div> sections ("navcol" and "maincol"). The "navcol" div contains <object data="mypage.html">. Inside mypage.html there are buttons the
<div>
<object data="mypage.html">