<!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\9;
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>
input清除默认样式及兼容问题的解决方法
最新推荐文章于 2024-01-23 18:07:54 发布