display:table versus using tables

前端 未结 8 1051
余生分开走
余生分开走 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 04:03

    It can be of use, particularly for vertical centring of content. I wouldn't use it for a whole layout, but that's just because I'm used to using floats.

提交回复
热议问题