Есть родительский блок:
#content
{
position: relative;
width: 92%;
margin: 0 auto;
height: 100%;
min-height: 500px;
border: 1px solid red;
}
И мне нужно 2 блока:
#news
{
position: relative;
float: left;
min-height: 400px;
width: 290px;
height: 100%;
}
#text
{
position: relative;
float: left;
margin-left: 20px;
min-height: 400px;
width: 625px;
height: 100%;
}
<div id="content">
<div id="news">
...
</div>
<div id="text">
...
</div>
</div>
Но 2-й текстовый блок не в одной строке с новостями. И, после изменения размера блока новостей и текста, блок контента тоже должен измениться, но это не ... Почему?