CSSでボックスの内容物を上下中央揃えにする方法。
.sample { display: table-cell; vertical-align: middle; } /* IE 7 */ *:first-child+html .sample { display: inline; zoom: 1; } /*\*//*/ * html .sample { display: inline-block; } /**/
.sample { display: table-cell; vertical-align: middle; } /* IE 7 */ *:first-child+html .sample { display: inline; zoom: 1; } /*\*//*/ * html .sample { display: inline-block; } /**/
Copyright © All Rights Reserved · Green Hope Theme by Sivan & schiy · Proudly powered by WordPress