Forum Moderators: not2easy
I used to achieve this by creating a small table as follows:
Table
TR
TD
image 1
TD
image 2
TR
TD span =2
image 3
Here image 1 would be placed in the upper left, image 2 would be placed directly to the right of image 1, and image 3 would appear below both.
I have been trying to accomplish the same in CSS as follows [simplified]:
Style
#cbimg{ width: 190px; height: 200px; margin: 0; padding: 0; border: 0;}
#img1 { display: block; position: relative; float: left; width: 150px; height: 160px;
#img2 { position: relative; display: block; width: 40px; height: 160px; clear: right;}
#img3 {display: block; width: 190px; height: 40px;}
HTML
<div id="cbimg">
<img id="img1" src=..>
<img id="img2" src=..>
<img id="img3" src=..>
</div>
When I do this, I end up with the three images stacked on top of each other.
Is there something I am missing here?
Thanks Jim