2012-03-17 27 views
0

这是我第一次在这个网站上发布。我用它来帮助解决许多问题,但今天,我有一个非常简单的问题,我似乎无法解决。如何删除图像左侧的小边框?

图片问题 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。谢啦!

+0

left:-10px ??这应该是规模?如果你可以发布一个更好的小提琴。看起来像填充。 – 2012-03-17 03:44:43

回答

0

哦!!!!抱歉,我没有得到它,哈哈,弥补它,这里是一个图像的编辑副本,http://trevorrudolph.com/new.png

+0

哈哈,对不起,我感到困惑 – 2012-03-17 03:43:34

+0

感谢您的快速反应,但是,似乎仍然无法正常工作。 – Isaacx3 2012-03-17 03:45:05

+0

哈哈,对不起,我是哑巴 – 2012-03-17 03:45:42