Ребят, есть код, мне надо, чтобы слово "Поиск" было чуть ниже, теги
br и sub не подходят. Вот код:
<div class="search">
<form method="get" action="<?php bloginfo('url'); ?>/">
<fieldset>
<input type="text" value="<?php the_search_query(); ?>" name="s" /><button type="submit">Поиск</button>
</fieldset>
</form>
</div>
это css
.menu .search button { float: left; background: url(images/search-button.png) no-repeat; width: 78px; height: 33px; border: none; cursor: pointer; color:#fff; vertical-align: middle; padding: 3px 5px 5px 0px; font: bold 14px/14px "Arial", sans-serif; letter-spacing: -1px;}
style="margin-откуда отступаем: bootm или top: кол-во пикселей для отступа px;"
<input style="margin-bottom: 5px;" type="submit" value="Поиск"/>
Пойдет? ))
Блин, пробую, нефига не пойму, можешь внедрить мне уже в этот код изменения
<div class="search">
<form method="get" action="<?php bloginfo('url'); ?>/">
<fieldset>
<input type="text" value="<?php the_search_query(); ?>" name="s" /><button type="submit">Поиск</button>
</fieldset>
</form>
</div>
.menu .search button { float: left; background: url(images/search-button.png) no-repeat; width: 78px; height: 33px; border: none; cursor: pointer; color:#fff; vertical-align: middle; padding: 3px 5px 5px 0px; font: bold 14px/14px "Arial", sans-serif; letter-spacing: -1px; margin-bottom: кол-во пикселей px;}
Вот что с css получится
Так.. что то я рубанул нитого Тебе что надо? Не перенося кнопку сделать ее чуть ниже формы или что?)
12 Июн 2010, 14:45Блин парень сорри, нужно бежать...
Лучше сделай вот так и отступай сколкьо тебе надо и не парься
<div class="search">
<fieldset>
<form method="get" action="">
<input type="text" value="" name="s" /><br/><input style="margin-top: 4px;" type="submit" value="Поиск" />
</form>
</fieldset>
</div>
Там кнопка, а на ней Слово поиск, мне надо чтобы слово Поиск чуть ниже отоюражалось, а кнопка оставалась неизменна
12 Июн 2010, 14:53