What's the best way to convert table layout to CSS layout?

后端 未结 8 1975
故里飘歌
故里飘歌 2020-12-30 11:58

I\'m about to begin working on a web page with a complex table-based layout (coded years ago).

One of the things I\'d like to do is convert the layout to a proper CS

8条回答
  •  梦毁少年i
    2020-12-30 12:34

    I wouldn't use a framework. Learning a new framework is only useful if you use it over & over again. Each framework has its own bugs and weaknesses. Use

    display: table-cell;
    

    to make a column. These will line up like float: left;. See http://quirksmode.org/css/css2/display.html

提交回复
热议问题