HTML/CSS Tables vs Divs - Page 2
Forum Index > Tech Support |
Epithet
United States840 Posts
| ||
chrisdunnbirch
United Kingdom10 Posts
Some people have said that both have their merits, and whilst this is true I feel that their assertion may be confusing someone such as yourself who is new to this. Let's take a look at this quote: On May 01 2012 00:27 Fateless wrote: Tables are not a "90's phenomenon" I would challenge you to find a major modernized website that doesn't contain at least one table, Google, TeamLiquid, and Amazon.com all use at least one table somewhere on their pages. To be a competent developer you need to understand both and learn to apply them seamlessly.. So Fateless has misunderstood some of the points raised by previous posters. He is correct that <table>s (as a HTML element) are not a 90's phenomonen, however this is not the point that previous posters were attempting to raise. The point was that tables, when used for a website layout / fundamental structure is a 90's phenomenon and the web industry and it's professionals have since realised that this was a gross misuse of the <table> element as described in the HTML specification and have sought and emplyed better methods. I agree with Fateless' point, but for a slightly different reason. Do not get into the habit of NEVER using <table>s, there is a reason that they exist in the HTML specification and that is to provide front-end developers a way to display tabular data; that is data that is best suited to being displayed in a table such as a sports league table or the calendar (*points to the TL calendar*) for example. For creating a websites' fundamental layout structure you should be using divs without a doubt; that's the HTML element that was drafted specifically for that purpose so it makes absolutely no sense to even question whether to use something else. | ||
| ||