就拿verycd那搜索框做例吧……,自己写了个……
HTML:
<div id="top-search">
<input type="text" id="top-search-input" name="kw" value="" />
<input type="submit" id="top-search-lib" class="top-search-button" value="资源" />
<input type="button" id="top-search-site" class="top-search-button" value="高级搜索" />
<input type="button" id="top-search-advance" class="top-search-button" value="发布资源"
/></div>
CSS:
#top-search/*背景*/
#top-search input/*整体input设置*/
#top-search #top-search-input/*调整输入框*/
#top-search-lib,#top-search-site,#top-search-advance/*其它三个按钮,隐藏字体*/
图片就用下面这张: