I have two div :
<div class="Content">
<h1>Hello World !</h1
<div class="POST">
My Post ......
</div>
</div>
CSS (Content ) :
.Content
{
position:absolute;
left: 50%;
margin-left:-220px;
top: 165px;
width:707px;
}
CSS (POST) :
.Post
{
position:absolute;
top:404px;
width: 669px;
left: 23px;
}
i want a css code like that when <div class="content">
increses, other <div class="parent">
height increses so
class="content"
then it will automatically size to fit the children so long as their positions are not set to absolute or fixedh1
tagposition:absolute
? It's a horrible way to do layout.