<select
name=tt1
style="background-color:red">
<option
value=1>111</option>
<option
value=2>222</option>
<option
value=3>333</option>
</select>
<style>SELECT
{
FONT-SIZE: 12px
FONT-FAMILY: "宋体","Verdana"
BACKGROUND-COLOR: #FFFFF0
color: #003366
MARGIN-LEFT: 3px
}
</style>
放在网页中就ok
或者
<style>
.SelectMode
{
margin: -2px
FONT-SIZE: 12px
FONT-FAMILY: "宋体","Verdana"
BACKGROUND-COLOR: #FFFFFF
z-index: -1
color: #003366
MARGIN-LEFT: 3px
}
</style>
可以用于单个select框,这样引用:
<select class="SelectMode">
...
</select>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)