Sterx
Код:
<b style="font-size:12px;">Рубрика </b><select></select>
скрываешь селект diplay:none
затем показываешь
после этой нехитрой комбинации слово Рубрика оказывается не в одну линию с селектом, а над ним
как сделать собствено, чтобы такого не было
IE6
Alexs
кагдато тоже мучелся
помогло следующие
Добавить после всех плавающих блоков очистку:
.clear { clear: both; height: 1px; overflow: hidden;
потом вызываеш <div class="clear"></div>
sample
Код:
<HTML>
<HEAD>
<style type="text/css">
div.content-block {
float: left;
width: 100%;
}
.clear {
clear: both;
height: 1px;
overflow: hidden;
}
</style>
</HEAD>
<body>
<div class="content-block">test</div>
<div class="clear"></div>
<div class="content-block" style="display: none;">test test <a href="test">test test</a> test test</div>
<div class="clear"></div>
<div class="content-block">
<form><select>
<option value="1">1 test</option>
<option value="2">2 test</option>
<option value="3">3 test</option>
<option value="4">4 test</option>
<option value="5">5 test</option>
<option value="6">6 test</option>
<option value="7">7 test</option>
<option value="8">8 test</option>
<option value="9">9 test</option>
</select></form>
</div>
<div class="clear"></div>
</body>
</HTML>