下拉框select样式改写具体实现
(编辑:jimmy 日期: 2024/11/1 浏览:2)
复制代码代码如下:
<style>
.select { width:168px; height:16px; background:none; border:none; }
#sleHid { display:block; width:143px; overflow:hidden; }
#sleBG { width:168px; height:16px; border: 1px solid #A3938C; background:url("icon3.jpg") #fff no-repeat 151px 0px; display:block;}
</style>
<div>
<form>
<span id="sleBG">
<span id="sleHid">
<select name="type" class="select">
<option selected="selected">所有分类</option>
<option value="1">图书</option>
<option value="2">音像</option>
</select>
</span>
</span>
</form>
</div>