Hey there people of the great forums!
I have got a little problem with my CSS, I set an auto on my content height. But it doesn’t seem to be working.
I put some divs inside the content, and it doesn’t grow in height it just stays put.
Here’s my code:
[SIZE="3"]**HTML:**[/SIZE]
<body>
<div id="wrapper">
<div class="header">
<div class="chrisclick">
</div>
</div>
<div class="navigation_bar">
</div>
<div class="content">
<div class="post_body">
<div class="post_container">
<div class="post_title"> Test </div>
</div>
</div>
</div>
</div>
</body>
[SIZE="3"]**CSS:**[/SIZE]
#wrapper {
width: 850px;
height: auto;
margin: 0 auto;
}
.header {
background-image :url(header.png);
height: 125px;
width: 850px;
}
.chrisclick {
background-image: url(chrisclick.png);
height: 50px;
width: 150px;
float: left;
margin-top: 35px;
margin-left: 10px;
clear: both;
}
.navigation_bar {
background-color: #363636;
width: 810px;
height: 38px;
padding-left: 20px;
padding-right: 20px;
font-family: Verdana;
font-size: 10px;
color: #CCC;
}
.content {
background-color: #1f1f1f;
width: 850px;
height: auto;
font-family: Verdana;
font-size: 10px;
color: #CCC;
padding-top: 5px;
}
.post_container {
width: 500px;
height: auto;
float: left;
margin-left: 20px;
clear: both;
}
.post_title {
font-size: 16px;
color: #0090ff;
margin-bottom: 5px;
clear: both;
height: auto;
}
.post_body {
font-size: 10px;
color: #ffffff;
margin-bottom: 25px;
padding-left: 1px;
padding-bottom: 5px;
border-bottom: #999 1px solid;
height: auto;
clear: both;
}
any ideas peeps?