程式狂想筆記

一個攻城師奮鬥史

0%

[CSS]table td預設是vertical-align: middle???

採到雷

1
2
3
thead, tbody,
tfoot { vertical-align: middle }
td, th, tr { vertical-align: inherit }

http://stackoverflow.com/questions/33487148/default-value-of-vertical-align-for-table-cells
https://www.w3.org/TR/CSS2/sample.html