网页搜索框

xiaoxiao2021-02-28  119

<!--  html /.nav -->             <form action="" id="search-form">               <fieldset><input type="text" class="text" value="site search" οnblur="if(this.value==''){this.value='site search'}" οnfοcus="if(this.value=='site search'){this.value=''}"/><input type="submit" class="submit" value="" /></fieldset>             </form>

/*    css----- forms -----*/

#search-form {     float:right;     padding:16px 17px 0 0; }     #search-form fieldset {         float:right;         border:none;         background:url(images/search-bg.gif) no-repeat 0 0;     }             #search-form input.text {             width:200px;             padding:5px 5px 5px 12px;             margin-right:8px;             font-size:10px;             color:#767676;             text-transform:uppercase;             border:none;             background:none;         }         #search-form input.submit {             width:24px;             height:27px;             border:none;             background:none;             cursor:pointer;         } #newsletter-form fieldset {     border:none; }
转载请注明原文地址: https://www.6miu.com/read-54683.html

最新回复(0)