css+div中搜索框怎么写

2025-04-18 04:53:14
推荐回答(1个)
回答1:

HTML代码



    

CSS代码:

#search-box{width:326px;height:29px;background:url(divcss5-so-bg.gif) no-repeat 0 0; margin:0 auto}
.input-box{ float:left; width:220px; height:29px; line-height:29px; padding-left:11px; border:0; background:none; text-align:left; font-size:14px}
.button{ float:right; border:0; background:none; text-indent:-999px; width:70px; height:29px; cursor:pointer}

相关问答