<select><option>foo</option></select>
下拉菜单太靠近页面底部。我希望下拉菜单改为“下拉菜单”。我一直在搜索,但只能提取导航菜单上的信息。我尝试将<select class="select-store">
top:100% 和 bottom:100% 设置为 position:absolute,这就是我在导航菜单下拉菜单中看到的“下拉”而不占优势。这可能吗?提前谢谢你们,代码如下;
HTML
<select class="select-store" onchange="document.location.href=this.value">
<option value="/">Store Finder</option>
<option value="/foo">foo</option>
<option value="/beta">beta</option>
</select>
CSS
#finder .select-store{
background: url("/images/storefinder_bg.png") no-repeat scroll 0 0 transparent;
border: medium none;
color: #5B5A5A;
font-family: UNIV-C,Arial,Helvetica,sans-serif;
font-size: 16px;
font-weight: normal;
height: 32px;
line-height: 16px;
padding: 3px;
vertical-align: middle;
width: 186px;
}