Actual table Vs. Div table

后端 未结 9 1600
抹茶落季
抹茶落季 2020-11-28 07:53

This

Hello World

Can

9条回答
  •  甜味超标
    2020-11-28 08:29

    In my opinion, the only reason to use divs are for styling and adjusting the layout based on browser size. If it isn't broke, don't fix it. Divs are easier to style though with css.

    Tables: pros- you can get a very complicated layout exactly how you want it. More reliable. cons- tables get a little weird sometimes with complicated css styling. not good for responsible websites.

    Divs: can adjust based on browser input, more flexible and easier to style.

提交回复
热议问题