阅读背景:

input清除默认样式及兼容问题的解决方法

来源:互联网 
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Document</title>
<style>
input{
   background:none;
   outline:none;
   border:0px;
}
.search_box{
   width:210px;
}
.search_input{
   height:30px;
   padding:0 5px;
   line-height:30px;
   width:136px;
   border:2px solid #FF8C00;
   float:left;
}
.search_btn{
   width:60px;
   height:34px;
   color:#FFF;
   background-color:#FF8C00;
}
</style>
</head>
<body>
    <div class="search_box">
        <input type="text" class="search_input">
        <input type="button" class="search_btn" value="搜索">
    </div>
</body>
</html><!doctype html>
<html>
<head>
<meta charset="ut



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: