Help - Search - Members - Calendar
Full Version: Table coding
Forums > Resource Center > Webmasters' Corner
funride
Can someone point me to some tutorials that will teach me how to code in tables, I'm really interested and think there hell of a lot better than divs. Thanks a lot.
goneagain
No it is not. Stick with divs or learn HTML5.
schizo
http://www.w3schools.com/html/html_tables.asp

Technically, they're not better than divs. I would only use them for keeping certain content neat, not your entire layout. Some people will tell you to not even use them for that, but it's really not that big of a deal if you do it correctly.
none345678
I was always told that tables were the devil. a few notches above marquee.
Mikeplyts
I usually only use tables for forms and shit. Stick with DIV's, they're more flexible (for lack of a better word).
schizo
Honestly, I think a design big wig said using tables was a sin for layouts and some dipwad at our general level read it and interpreted as you shouldn't use them at all. Then a cult of teenage designers started spreading the word without really knowing what the hell they were talking about. If you google it, most blogs say that table layouts are bad but organizing content with tables is fine.
goneagain
QUOTE(schizo @ Jul 30 2010, 10:38 AM) *
Honestly, I think a design big wig said using tables was a sin for layouts and some dipwad at our general level read it and interpreted as you shouldn't use them at all. Then a cult of teenage designers started spreading the word without really knowing what the hell they were talking about. If you google it, most blogs say that table layouts are bad but organizing content with tables is fine.



Organizing content as in for list's and a stack of prices. When the <li> element isn't suitable.

Why the hell would someone want to clutter up there code with a whole bunch of tables just to get a margin right? When you can just add CSS? Don't ever use tables on less it's for a table/list of data.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.