css+div中搜索框怎么写
在网站建设当中初学者务必会用到这些知识
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title> new document </title>
<style type="text/css">
#search {width:400px;margin:0 auto;padding:6px;height:20px;background:#FFCCFF;}
#search .text{float:left;}
#search .text input{border:1px solid #910091;height:18px;}
#search .btn{float:right;}
</style>
</head>
<body>
<div id="search">
<div class="text"><input type="text" value="在这里搜索..." /></div>
<div class="btn"><input type="button" value="搜索" /></div>
</div>
</body>