Hi,
Below is the extract of some code which displays perfectly in Safari, Firefox etc but not in IE5. Can anyone suggest what might be causing the problem.
The page is basically an image gallery, each image held in a 'cell'. 'container_mini' is just a holding div displaying a white box as a background to the 'cells'. I've put a 'spacer' div at the bottom to ensure the 'container_mini' expands fully (height) to include all the 'cells'
The problem: In IE5 the container_mini displays over the top of all the cells so that they can't be seen.
Any thoughts greatly appreciated
Thanks
Matt
<div id="round" class="container_mini" align="center">
<div class="f_l">
<div class="cell" align="center">
<p align="center">Lot No: 1</p>
<a href="javascript:NewWindow('image_view.php?SaleNo=102&LotNo=1&A=','ImageView','650','680','yes')">
<img src="../images/sale_102/1_102_thumb.jpg" border="1"></a>
</div></div>
<div class="f_l">
<div class="cell" align="center">
<p align="center">Lot No: 2</p>
<a href="javascript:NewWindow('image_view.php?SaleNo=102&LotNo=2&A=','ImageView','650','680','yes')">
<img src="../images/sale_102/2_102_thumb.jpg" border="1"></a>
</div></div>
<div class="spacer"> </div>
</div>
Associated CSS:
.container_mini {
margin: 0px 5px 5px 5px;
padding: 5px 5px 5px 5px;
border: 1px solid #CCCCCC;
background-color: #FFFFFF;
width: 810px;
}
.spacer {
height: 0px;
line-height: 0;
width: auto;
clear: both;
font-size: 0px;
display: block;
}
.f_l {
float: left;
}
.cell {
position: relative;
width: 110px;
margin: 0px 0px 5px 18px;
padding: 2px 1px 0px 1px;
height: 150px;
border: 1px dashed #CCCCCC;
}
.cell p {
position: absolute;
bottom: 0px;
width: 108px;
text-align: center;
}