| I'm working on this web page. A script will insert some number of thumbnail images (red-bordered) into the central content panel (green-bordered). The thumbnails will actually be fairly complicated objects, with drop shadows and captions (like this).
I want the thumbnail images to flow like center-aligned text. By applying "float: left" to the thumbnail boxes, I got them to flow like left-aligned text, but I can't get them to center.
Any idea how to do this? The number of thumbnails per line needs to adapt to the width of the window, so a fixed layout won't help. |