如何用CSS定义列表框的样式?
如何用CSS定义列表框的样式? --------------------编程问答-------------------- <style>.box
{
border:1px solid #C0C0C0;
width:72px;
height:19px;
clip:rect(0px,71px,18px,0px);
overflow:hidden;
}
.box2
{
border:1px solid #F4F4F4;
width:70px;
height:17px;
clip:rect(0px,69px,16px,0px);
overflow:hidden;
}
select.nice
{
position:relative;
left:-2px;
top:-2px;
font-size:12px;
width:73px;
line-height:14px;
border:0px;
color:#414141;
}
</style>
起始日期:
<span class="box"><span class="box2">
<select name=YYYY class="nice">
<option>1997</option>
<option>1998</option>
</select>
你看看吧
补充:企业软件 , WebSphere