1. 水平方向に中央揃え
.hor_center {
margin: 0 auto;
}
水平および垂直の 2 つのセンタリング
.content {
width: 360px;
height: 240px;
}
.ver_hor_center {
position: absolute;
top: 50%;
left: 50%;
margin-left: -180px; /*要居中的div的宽度的一半*/
margin-top: -120px; /*要居中的div的高度的一半*/
}
3. div を下部 (フッター) に配置します。
.bottom_footer {
position: fixed; /*or前面的是absolute就可以用*/
bottom: 0px;
}