Posted by Andy Dingley on 09/25/06 11:19
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]
|