新闻详情

背景的位置定义 DIV+CSS

1946 2009/3/12
body{
 padding:0px; margin:0px;
 background-image:url(bg5.jpg);  /* 背景图片 */
 background-repeat:no-repeat;  /* 不重复 */
 /*background-position:30% 70%;  /* 背景位置,百分比 */
 background-position:300px 25px;  /* 背景位置,具体数值 */
}
p{
 padding:10px; margin:5px;
 line-height:1.5em;
}

相关资讯

18973218026
返回顶部