I have a series of divs which I want to work similar to images in that they can be centered within another div. As more are added they fill in the parent div from the center and expand to additional lines as needed.
Each div has a layout inside it consisting of an image, text and a background image.
<div class="tea">
<img src="../_images/tea/types/yuki_sencha.jpg" alt="" />
<p>yuki sencha</p>
</div>
Is this clear?
It would appear on screen the same way this would
<div style="text-align:center; width: 400px;">
<img src="blank.gif">
<img src="blank.gif">
<img src="blank.gif">
</div>
Each div has a layout inside it consisting of an image, text and a background image.
<div class="tea">
<img src="../_images/tea/types/yuki_sencha.jpg" alt="" />
<p>yuki sencha</p>
</div>
Is this clear?
It would appear on screen the same way this would
<div style="text-align:center; width: 400px;">
<img src="blank.gif">
<img src="blank.gif">
<img src="blank.gif">
</div>