I am looking for a solution to have an sidebar thats the same height as the content part. I have tried a lot of stuff but nothing is working. As you can see in the fiddle the sidebar is not a 100% as his parent(and the content part).
example here http://jsfiddle.net/94mGd/
CSS
html{
min-height:100%;
}
body{
min-height:100%;
background-color:#eee;
}
#container{
background-color:#ccc;
}
aside{
width:260px;
float:left;
background-color:#333;
min-height:100%
}
#content{
min-height:100%;
margin-left:300px;
}
.dummy-height{
height:2000px;
background-color:#777;
}
HTML
<div id="container">
<aside>
sidebar
</aside>
<div id="content">
<div class="dummy-height">
dummy
</div>
</div>
</div>