display:table versus using tables

前端 未结 8 1010
余生分开走
余生分开走 2021-01-06 03:18

I was wondering if it\'s a good idea to use CSS display property to emulate tables for a veeeery simple forum system.

I know this wasn\'t good thing to do like 2 yea

8条回答
  •  不思量自难忘°
    2021-01-06 03:44

    I think in the end of you are displaying tabular data, then a table is perfectly sufficient. I believe that when you use tables to control layout from a design perspective that purists will have a hard time because from a theoretical point of view, your semantic markup will be saying tabular data, but in reality you might be using it to position images. That being said, I have gotten frustrated at times trying to lay things out without using tables-- I know it's frowned upon, but who's perfect??

提交回复
热议问题