☀【表格布局】
我所知道的几种display:table-cell的应用
http://www.zhangxinxu.com/wordpress/?p=1187
table table
table-row tr
table-row-group tbody
table-header-group thead
table-footer-group tfoot
table-column col
table-column-group colgroup
table-cell td,th
table-caption caption
<!doctype html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> * {margin: 0;padding: 0;} .wrapper {width: 100%;display: table;} .main {display: table-cell;background: #f00;} aside {display: table-cell;width: 300px;background: #ff0;} </style> <!--[if (lt IE 8) & (!IEMobile)]> <link rel="stylesheet" href="ie.css" media="all"> <![endif]--> </head> <body> <div class="wrapper"> <div class="main">main</div> <aside>aside</aside> </div> </body> </html>