On 12/05/11 10:51, Greg Thomas wrote:
Position is Everything.
No, I mean the web site! There's an example of how to set "columns" to equal height at http://www.positioniseverything.net/articles/onetruelayout/equalheight
Thanks, this does seem to address the problem, although it is a very messy hack by the looks of things!
I haven't tried it yet, but I can see problems when I go to my next stage: allowing the left menu to have it's own vertical scrollbar if needed. (The left menu will be a JavaScript tree menu and to be useful on small screens it needs to scroll independently of the main content.) In a table cell I should be able to make this happen using overflow:auto but the hacks at positioniseverything.net are already using overflow to achieve the column effect.
I understand why tables are bad for layout in theory, I really do. But given how hard they are to work around in CSS in practice why should I be ashamed of reverting to tables for layout? Why don't we just have <layout><lr><ld></ld></lr></layout> (functionally equivalent to table/tr/td but providing the distinction for all the valid reasons that table is bad for layout)?
Grrrrr.......