On 11/05/11 14:03, Greg Thomas wrote:
Tables are not "bad" - they are good for presenting tabular data. OK, so they shouldn't be used for layout, which is what you are trying to avoid.
Indeed, correction accepted!
There's an example (with a better explanation than I could give) at http://css.maxdesign.com.au/floatutorial/tutorial0816.htm
This doesn't actually work as expected if the content is shorter than the menu, see example here: http://www.more-solutions.co.uk/test.html This is the exact example from the above tutorial except that the content has been reduced and background colours added to the left and right sections. Note that the line (border) between the left and right sections is only as long as the right-hand content, and the background colours don't fill the whole areas unless the content does.
If this were a table-based layout, the left and right "cells" would by-definition be the same height.
Of-course I can fix this by forcing the height, but that has far more disadvantages than benefits.