Rod wrote:
Here is a short example which display 2 products:
<div class="listProducts">
<div class="products">
<div>
<img src="xxxx" width="200" height="149">
</div>
<div>
title1
</div>
</div>
[...]
</div>
style:
..listProducts {
background-color: #FF4500;
border: thin solid Black;
}
.products {float:left;width:33ex;}
you can see the products are outside the main DIV!!!
Of course they are. Floating takes something out of the normal flow. So
the .listProducts box has no .products boxes content.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)