<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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>
</html>
这里<input type="button" value="搜索" />
换成 图片按钮就可以了<input type="image" src="图片路径" />
<html xmlns="http://www.w3.org/1999/xhtml">
<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>
</html>
这里<input type="button" value="搜索" />
换成 图片按钮就可以了<input type="image" src="图片路径" />
