>   And it still sounds like you'll be using a ton of <DIV>s to replace <TR>s
> and <TD>s.

Well, except that it wouldn't be a "ton", and the layout of the divs would
be specified entirely in the CSS file. Like the stuff Aaron linked to.

> And if I understand you right, you want something like:
> 
>       <DIV>   <DIV>   <DIV>   <DIV>
> 
>                  <DIV>
> 
>           <DIV>  <DIV>  <DIV>

More like:

        <DIV>   <DIV>   <DIV>
        <DIV>   <    DIV    >
        <DIV>   <DIV>   <DIV>
        <DIV>   <    DIV    >

With the divs in the first and third row remaining lined up.

Which would be something like:

        xab
        xcc
        xde
        xff

> [1]   Way back in 1996, I was tasked with writing a Java Applet [2] for a 
>       web company.  None of the existing layout managers (which included
>       a "grid layout" did what I wanted, so I wrote my own layout manager.

Grid definitely can't do anything, and there's a lot of layouts that are WAY
easier with a packer, but using a packer to layout something as simple as a
canvas with right and bottom scroll bars already makes grids look desirable.

You really need at least these four classes of layout, and you need to be
able to use them together...

        placer          absolute positions
        packer          "X is left of Y, Z is under both"
        grid            "Top row is..., next row is..."
        flowed          basically, text. You place things until you run
                        out of room on the line, and then start a new line.


Reply via email to