Close David, thanks. I found more of what I was looking for here: 
http://www.brunildo.org/test/shrink-to-fit.html and was able to get it 
working using the table/table-cell/inline-block combo. I tested it on 
browsershots and it seems to be ok in all except Opera 9 which pushes one to 
the next line. Before and after is on my test page for anybody interested: 
http://www.basalweb.com/test/dltest3.html.

Thanks all!


----- Original Message ----- 
From: "David Hucklesby" <[EMAIL PROTECTED]>
To: "Michael ORourke" <[EMAIL PROTECTED]>; <css-d@lists.css-discuss.org>
Sent: Friday, January 11, 2008 7:00 PM
Subject: Re: [css-d] Centering multiple floated blocks


On Fri, 11 Jan 2008 14:59:56 -0500, Michael ORourke wrote:
> Hello all,
>
> I have a container holding 6 floated divs, each containing an image and a 
> few lines of
> text. My first goal was to be able to center all the floats so they take 
> up all the
> space in the containing div which I think I accomplished. The test page is 
> here:
> http://www.basalweb.com/test/dltest3.html.
>
> The problem I have now is that the number of those floated divs won't be 
> constant.
[...]

Something like this, perhaps? -

  <http://www.brunildo.org/test/ImgThumbIBL3.html>

More experiments with centering and shrink-wrapping here:

  <http://www.brunildo.org/test/#cen>

Cordially,
David
--

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to