0

Why is DIV better than TABLE?

I am very old and have used tables for yonks, but was told off recently. Just wondering the reason why.

tony bikta
  • 119
  • 6
  • 1
    div is not better than table. div is a neutral block element. table are meant to display tabular data with a meaning and to be read in 2d. Div and table have different purpose before styling.Div (or any tag) can have display reset to table/table-cell if you feel more confident using a table-layout grid (rowspan and colspan cannot be mimicked in CSS). Today you have display:grid and display:flex to master you layout (excuse this to be short and average english, it is just a comment) – G-Cyrillus Sep 08 '17 at 19:33
  • To the two people that upvoted this question: Please stand up and identify yourselves. We need to revoke your SO accounts. – j08691 Sep 08 '17 at 21:30

0 Answers0