Admin Administrator
Mesaje : 194
Credite : 582
Reputatie : 0
Data de inscriere : 15/08/2011
Varsta : 27
Localizare : Navodari
Hobby : CS, Afara.. Fete..
Arma Preferata : Ak-47
| Subiect: [CSS] Butonul de cautare Joi Aug 18, 2011 4:12 am | |
| Puneti asta in CSS: - Cod:
-
.search-box{ float: left;}
#search-box{ float: right; white-space: nowrap;}
* html #search-box{margin-right: 35px;}
#search-box input.button1{padding: 1px 5px;}
input.search{ background-repeat: no-repeat;}
#search-box{ height: 40px; width: 185px; display: inline; background: transparent url(http://i66.servimg.com/u/f66/11/96/49/61/schbox10.png) no-repeat center; font-family: Verdana,Arial,Helvetica,sans-serif; color: #536482; font-size: 10px;}
#search-box input.button2 { display: none;}
#search-box #keywords { width: 85px; background: transparent; position: relative; left: -10px;}
#search-box input { border: none !important; background: none;}
#search-box input.search { background: none; margin-left: 48px; margin-top: 11px;}
#search-box .inputbox {padding: 2px;cursor: text;}
#search-box * { margin: 0px; padding: 0px; } Si inlocuieste din P.A.=>Afisare=>Template-uri=>General=>overall_header_new: - Cod:
-
<table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}"> <tr> <td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td> </tr> </table> Cu: - Cod:
-
<br> <div id="search-box"><form method="get" action="/search.forum" id="search"><p class="nomargin"><input type="text" name="search_keywords" id="keywords" maxlength="128" class="inputbox search" value="Search..." onclick="if (this.value == 'Search...') this.value = '';" onblur="if (this.value == '') this.value = 'Search...';" /><input class="button2" type="submit" value="Search" /></p></form></div> </div><br><br><br> <div style="clear: both;"></div> |
|