我有一个带有 css 样式文件的网页。当我尝试在下面的代码中缩放header2.png 时,图片会被裁剪。
知道为什么吗?
#header {
background:url(images/bg.gif) repeat-x 0 0;
height: 70px;
position: absolute;
}
#logo a {
background:url(images/header2.png) no-repeat 0 0;
width: 800px;
height: 80px;
position: absolute;
top:0;
left:10;
}