1

我无法删除包含另一个的 a 的填充。我的网站是 www.housecallgeek.com/index.html。div 元素具有我无法删除的左右边距。源代码如下

<style>


html{height:100%; background: url("http://www.housecallgeek.com/gdb.png") no-repeat center center fixed
; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: 100% 100%;
}

div.title{height:20%; width:100%; border-style:solid; border-width:0; margin:auto;


background: url("cropped merged finished smaller.png") no-repeat 49% 4% fixed;
    -webkit-background-size: 63%;
    -moz-background-size: 63%;
    -o-background-size: 63%;
    background-size: 63%;
}

body {margin: 0px; padding: 0px; border: 0px; height: 100%;}

div.main{border:0px; margin:0px; padding:0px; width:80%; min-height:76%; border-style:solid; border-width:1;margin:auto;



background: url("md.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: 100% 100%;

box-sizing: border-box;
ms-box-sizing: border-box;
webkit-box-sizing: border-box;
moz-box-sizing: border-box;
}

img.m{margin: 0px; padding: 0px; border: 0px; width: 100%; height:100%;}

div.menu{margin:0px; padding:0px; min-width:100%; height:50px; display:box ;}

</style>
4

1 回答 1

1

您的图像 m.png 似乎有透明的边。尝试对图像进行干净的裁剪。

于 2013-02-08T03:20:58.303 回答