这是我第一次在这个网站上发布。我用它来帮助解决许多问题,但今天,我有一个非常简单的问题,我似乎无法解决。如何删除图像左侧的小边框?
图片问题 http://i.stack.imgur.com/VOyWR.png
的正如你所看到的,有一点页面的左侧和下部的开始之间的空间。下面是我用来实现什么我到目前为止
<head>
<title>
<?php include 'config.php';
echo $pagetitle;
?>
</title>
<style>
body{
background-image:url(images/bg.png);
background-repeat:repeat;
z-index:1;
}
div#content{
position: fixed;
bottom: 0;
}
</style>
</head>
<body>
<div id="content">
<img src="images/lower.png" style="max-width:100%; left:0; max-height:100% z-index:2;">
</div>
所以,基本上,我的问题是,我怎么去除背景的小边在较低的图像前偷看密码。
@Richard Andrew Lee明白了,我觉得真的很愚蠢。我刚加左:-10;到#content。谢啦!
left:-10px ??这应该是规模?如果你可以发布一个更好的小提琴。看起来像填充。 – 2012-03-17 03:44:43