quote:
Originally posted by Chris Boulton
Here are some interesting reads:
http://phrogz.net/CSS/HowToDevelopWithCSS.html
Why tables are bad for layout: http://phrogz.net/CSS/WhyTablesAreBadForLayout.html
read it, interesting find... In fact I agree with all the things said there. However my strong wordings in this thread are to componsate the things most people think about tables...
I never said tables are ideal for designing a whole site or a whole layout, of course they're not. The trick is indeed to know when to use them. But most people intend to simply think tables are only good for the scrapyard and for display 10 numbers over 5 rows and two columns and thus haven't much experience with them and thus tend to say things which are said by many people...
quote:
Originally posted by saralk
Another advantage is that with DIVs/CSS it is easier to change the layourt of the whole site, just by editing a css file.
This is NOT an advantage of div's!
This is exactly my point in what I say that most people have a big misconception about tables. Indeed, most people say things like this and then conclude that using tables is bad and shouldn't be done and div's should be use. This is not true...
You can use CSS just as well in tables as you can everywhere else, in fact it works just the same. Thus, sorry but this is by no mean a valid argument to use div's over tables.
quote:
Originally posted by saralk
On these forums, all the lists (forums, posts, members, search etc...) use tables in the right way, and so do the topics themselves but using a table for the Rate this Thread/Forum Jump thing is silly.
Using tables like that is not silly at all, it is in fact logic. Using only div's there would be silly...
quote:
Originally posted by saralk
P.S. my website only uses DIVs, and I think it would be hard to do something like that in tables.
There is nothing in the iframe which needs tables. However the grand layout (the page and iframe in the middle) could have been easly done with tables without problems.
quote:
Originally posted by hmaster5
I tried to convert my site to tables but it just didnt work and it would have been to hard to edit.
Again, the grand layout (topheader, left area, middle area, right area) could have been perfectly and very easly be done with a table and it wouldn't have been any harder to edit it afterwards. The reason why it wouldn't "work" is probably because you didn't implemented it correctly...
quote:
Originally posted by raceprouk
ATM, my new site uses tables, but I may try a CSS-based layout, and see what I can do with it. Then I'll come back and say which is easier/better/smaller/sleeker etc.
I suspect in the case of
http://www.rpsoftware.net/ it would be almost equally easy (that is, if you're talking about the grand layout - top and the three vertical areas).
-------------
All this said, the forum does use many tables in the appropiate places. But some columns, rows or container tables (as I like to call them; tables to hold other tables) could have been stripped and aren't needed making the source more readable/manageable. But the problem with sites as this forum is that it uses templates and creates the final pages out of many pre-designed other pages, hence you get a bit more seemingly redundant tables. But I dare everyone who say tables are crap and div's is "the L33t" to make 1 simple thread page with div's only...
PS: There is also the "problem" of what is called layouting:
- Tables can be use for layouting the page (if appropiate). If you call layouting: determining which elements should be placed where in the overall scheme like the overall topheader and three distinct areas on hmaster5 and raceprouk's website.
- Div's can be use for layouting the page (if appropiate). If you call layouting: coloring, identing, sizing, etc the things in the inner frame of Saralk's website. Thus layouting textblocks, lines, etc...