读书人

input无际框

发布时间: 2012-07-03 13:37:42 作者: rapoo

input无边框
1.无边框Input:<input type="text" style="border:1px;border-bottom-style:none;border-top-style:none;border-left-style:none;border-right-style:none;">
2.用css样式:
<style type="text/css">
input {border:0px solid #c00;}
input {star : expression(
onmouseover=function(){this.style.borderColor="#060"},
onmouseout=function(){this.style.borderColor="#c00"})}
</style>或者是:
<style type="text/css">
input
{
border-top:0px ;
border-left:0px ;
border-right:0px ;
}
</style>

读书人网 >Web前端

热点推荐