Is there a business reason for striving for pure CSS layout?

后端 未结 21 731
情深已故
情深已故 2021-02-02 08:30

It seems like every time I try to create a pure CSS layout it takes me much longer than if I\'d use a table or two. Getting three columns to be equal lengths with different amou

21条回答
  •  [愿得一人]
    2021-02-02 09:21

    Business reason for CSS layout: You can blow away the customers by saying "our portal is totally customizable/skinnable without writing code!"

    Then again, I don't see any evil in designing block elements with tables. By block elements I mean where it doesn't make any sense to break apart the said element in different designs.

    So, tabular data would best be presented with tables, of course. Designing major building blocks (such as a menu bar, news ticker, etc.) within their own tables should be OK as well. Just don't rely on tables for the overall page layout and you'll be fine, methinks.

提交回复
热议问题