[thelist] Re: Stacking <div>s horizontally

Justin Stach justin at stach.co.uk
Fri Aug 23 13:27:01 CDT 2002


On 23/8/02 7:15 pm, "Anthony Baratta" <Anthony at Baratta.com> wrote:

> At 10:45 AM 8/23/2002, Justin Stach wrote:
>
>> Thanks Mark, but what I didn't make clear is that I won't know the overall
>> length of all the floaters, there could be 1 to many - I'm trying to find a
>> solution which doesn't require me to include a defined length in the
>> container because each individual <div> will be added as an included file.

> If you are dynamically creating the page then you can count the number of
> div, multiply by 200 (or the floating div's width) and set the container
> div's width to that plus one container.

Yeah, I have that as my last resort, but it's not exactly the most elegant
solution is it? It's frustrating, because this is pretty trivial if I use
individual tables aligned to the left...

Cheers,

Justin





More information about the thelist mailing list