|
|
|
| Проблема в том, что кнопка следующая после 3-х вложенных div-блоков сбрасывается на новую строку и отображается под строкой поиска, подскажите как исправить?
css-файл:
.fill-input{
background:url('/images/sample_input_02.gif') 0 0 repeat-x;
width:100%;
border:none;
height:24px;
padding:4px 0;
}
.left-input{
background:url('/images/sample_input_01.gif') left top no-repeat;
width:24%;
}
.right-input{
background:url('/images/sample_input_03.gif') right top no-repeat;
padding:0 14px 0 16px;
}
.right-input input{
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
line-height:normal;
color:#A7ADB6;
padding:0 0 0 10px;
border:none;
width:95%;
height:16px;
background:none;
}
|
<form method="post" action="/search/index.php" name="search">
<div class= "left-input">
<div class= "right-input">
<div class= "fill-input">
<input title="Введите ключевые слова для поиска." name="s" type="text" maxlength="255">
</div>
</div>
</div>
<input type="image" src="/images/search.gif" onClick="return searchClickedSimple(this.form);">
<input type="hidden" name="action" value="search">
</form>
|
| |
|
|
|
|
|
|
|
для: Keyses
(03.04.2009 в 20:17)
| | задать внешнему div фиксированную ширину + float:left, кнопке float:left | |
|
|
|
|
|
|
|
для: AlexSol
(03.04.2009 в 21:04)
| | Спасибо ;) | |
|
|
|