web開發日誌
ad
2013年7月19日 星期五
讓div絕對置中~參考
使用此css就可以讓massage class置中
#message {
position: absolute;
width: 490px;
height: 290px;
top: 50%;
left: 50%;
margin-left: -245px;
margin-top: -145px;
text-align: center;
background: #ffffff url(../images/admin/bg_message.gif);
padding: 10px;
}
massage
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)