|
Posted by jason on 09/25/06 11:36
Rigid might work so long as the areas are individually scrollable when
they outgrow the set. I wonder how I can do that. I'm using an asp.net
2.0 contentplaceholder inside the div, which varies in size based on
content.
Andy Dingley wrote:
> jason@cyberpine.com wrote:
>
> > Two <div> areas side by side. When one grows downward, I'd like the
> > other to do so as well.
>
> This is table-style behaviour and isn't supported by the HTML / CSS
> flow model.
>
> If it's important to you, then use a <table>. I wouldn't use the table
> display properties in CSS, as they're poorly supported.
>
> The alternatives tend to involve either JavaScript, or setting rigid
> sizes onto elements. Overall I see the table approach as being
> preferable. If you're insistent that adjacent elements maintain
> relative sizing, then you're already committing yourself to table-like
> concepts.
[Back to original message]
|