CSS样式中,background-image 背景图片居中显示并且在不同屏幕分辨率下始终居中

body {  
margin-top:0px;
margin-right:0px;  
margin-bottom:0px;  
margin-left:0px;  
background-color:#CCDAF7;  
background-image:url(../images/loadbg.jpg);  
background-repeat:no-repeat;  
background-position:top;  
background-attachment:fixed;
}
posted @ 2015-03-26 14:00  shawn_en  阅读(2259)  评论(0编辑  收藏  举报