I have a layout whitch is something like:
<div id="content">
<div class="container">
<div id="container-overlay"></div>
<img>
</div>
<div class="container">
<div id="container-overlay"></div>
<img>
</div>
</div>
I want all my images to be the same width and in a single column, so I used display block:
#content{
position: relative;
}
.container{
display: block;
}
.container-overlay{
top: 0;
left: 0;
width: 100%;
height: 100%;
position: absolute;
}
img{
width: 600px;
}
However images are displayed side by side and not in a single column, and I'm not sure why!!
You can check the real problem here: http://layouttotest.tumblr.com/