Вид поиска
07.02.2014, 12:15 | |
Это в CSS: Код div.search { float: right; margin-right: 10px; } .search { color: #757575; text-decoration: none; } .searchbg { float: left; padding: 14px 0px 0px; } input.search_input { background: url("http://ucozmaster.ru/img/bb/sinput.gif") no-repeat transparent; border: 0px none currentColor; color: #99A5AA; float: left; font-size: 0.9em; height: 22px; padding: 0px 0px 0px 23px; width: 188px; } input.search_but { background: url("http://ucozmaster.ru/img/bb/search.gif") no-repeat transparent; display: block; float: left; height: 22px; margin: 0px 0px 10px; width: 77px; } Это где будет сам поиск: Код <div class="search"> <div class="searchbg"> <form onsubmit="javascript: showBusyLayer()" method="post" action=""> <input type="hidden" name="do" value="search"/> <input type="hidden" name="subaction" value="search"/> <input name="story" id="story" value="поиск по сайту..." onblur="if(this.value=='') this.value='поиск по сайту...';" onfocus="if(this.value=='поиск по сайту...') this.value='';" type="text" class="search_input"/> <input class="search_but" alt="Поиск" type="image" src="http://ucozmaster.ru/img/bb/spacer.gif"/> </form> </div> </div> | |
Просмотров: 662 | Загрузок: 0 | Рейтинг: 5.0/1 |
Похожие материалы
Всего комментариев: 0 | |