News for hackers. Stuff that matters.
Re:CSS Architecture by Paul_D_Santana on Saturday May 11, 2013 @05:44PM (#5692216)
What is the most optimal method to use instead of tables?

[Edit] Added to my original post.

Re:CSS Architecture by jdwissler on Saturday May 11, 2013 @05:48PM (#5692222)
It really depends on what you are trying to do, I don't really know how to answer the question, it is too broad.

But like I said, I don't think tables are 'bad'. I think the main stigma against tables was that back in the old days they were used to layout pages that had column layouts, but I didn't program back then so I don't really know.

Re:CSS Architecture by lowboy on Saturday May 11, 2013 @06:47PM (#5692405)
Using tables for layout is bad, full stop, no quotes.

Tables for tabular data are the only reason you should use the <table> element.

Re:CSS Architecture by jdwissler on Saturday May 11, 2013 @06:51PM (#5692415)
What qualifies tabular data?

GMail uses a table for laying out emails, is that tabular? (Maybe it is, I don't know, which is why I'm asking.)

What if you have an element which has 5 children that are in a row and you want the one in the middle to take up all the remaining width while the rest just take the width they need? I'm actually curious because I haven't figured it out. (Besides using table cells that is)

Re:CSS Architecture by lowboy on Saturday May 11, 2013 @07:03PM (#5692446)
It's tricky to define exactly, but I like this article's take on it: http://webdesign.about.com/od/tables/a/aa122605.htm

A list of emails can be thought of as tabular data. In Gmail, you have columns (selection, star, important, participants, subject, and date) with one row per email. That's a table without explicit headers.

Yeah, with current css specs in browsers you need to resort to table-cell stylings like display:table-row and display:table-cell. But that can be done without using actual <table> elements.

Re:CSS Architecture by jdwissler on Saturday May 11, 2013 @07:05PM (#5692458)
I see. I don't think we actually disagree on anything, but were just thinking of different semantics.

I should have qualified that I rarely use the table tag and use display:table-cell.

I was thinking of them as effectively the same as using a table for layout.