|
|
Модератор форума: dotbot |
Сообщество uCoz » Архивариус » Корзина » Страница ошибки 404 |
Страница ошибки 404 |
Как мне сделать что бы когда нажимаешь после ввода текста он переходил на страницу поиска.
Вот страница Прикрепления:
3227464.png
(119.3 Kb)
|
xXsanekXx, код:
Цитата <form action="" method="post" class="search"> <input type="search" name="" placeholder="поиск" class="input" /> <input type="submit" name="" value="" class="submit" /> </form> Цитата <form onsubmit="this.sfSbm.disabled=true" method="get" style="margin:0" action="/search/"> <input type="text" name="q" maxlength="30" size="20" class="queryField" /> <input type="submit" class="searchSbmFl" name="sfSbm" value="Найти" /> </form> |
Заменить на:
Цитата <form onsubmit="this.sfSbm.disabled=true" method="get" style="margin:0" action="/search/"><div align="center" class="schQuery"><input type="text" name="q" maxlength="30" size="20" class="queryField" /></div><div align="center" class="schBtn"><input type="submit" class="searchSbmFl" name="sfSbm" value="Найти" /></div></form> |
xXsanekXx, Найти в CSS вот эту строку .error (строка № 185) и добавить в нее это
Код padding-bottom: 20px; В добавок ко всему, находим эту строку .checkbacksoon (строка 125) и ставим там 5% в итоге вот так Код .checkbacksoon { width: auto; height: 100%; padding-top: 5%; } Цитата Поисковая форма и ссылки ниже, помогут вам встать на путь истинный Сообщение отредактировал rem-31 - Воскресенье, 26 Окт 2014, 17:00:02
|
| |||
| |||