News for hackers. Stuff that matters.
Re:Why CSS should not be used for layout by axod on Tuesday February 03, 2009 @02:54AM (#463676)
Please paste an update to the example, that just 'behaves' like the table then? eg the background goes to the bottom, bad things don't happen depending on size of the content etc.

I've never seen a css example that behaves like a table.

Re:Why CSS should not be used for layout by lhorie on Wednesday February 04, 2009 @11:06AM (#465891)
Just out of curiosity... why do you want something that is not a table but behaves exactly like a table? Isn't that what tables are for?

I think starting from the premise that CSS (as it is currently implemented by major vendors) is a super set of tables, and as such, must do everything tables do is misguided. From my experience, the absolute need to use tables doesn't appear in every layout (for me, at least, it's rather rare), and pragmatic CSS developers tend to use tables only as a fallback when CSS / IE / whatever doesn't quite work.

I've seen css examples that can't be done with tables, so I don't know exactly where we are trying to get with this line of reasoning.

Re:Why CSS should not be used for layout by axod on Tuesday February 03, 2009 @06:35AM (#463847)
Don't just downmod me :/ Paste an example of css layout, that behaves like a table...