嘿家伙我建立我的第一个网站,我无法弄清楚如何摆脱右侧多余的空间,这将带来水平滚动条。该网站是http://qtsocial.com/accounts/login/ ...如果你可以看看CSS并给我一个线索,我会非常感激。谢谢!标题将不会跨越整个页面/额外的空间在右边
body {
background: url(http://qtsocial.com/static/images/body-bkg.png) repeat scroll;
margin: 0;
padding: 0;
}
.container {
margin: 0pt auto;
width: 100%;
}
#header {
background: url(http://qtsocial.com/static/images/hdr-bkg.png);
background-repeat: repeat-x;
height: 181px;
position: absolute;
z-index: 100;
top: 0px;
left: 0px;
width: 100%;
margin: 0;
padding: 0;
}
#logo {
background-image: url(http://qtsocial.com/static/images/QTlogo.png);
background-repeat: no-repeat;
height: 88px;
position: absolute;
top: 40px;
left: 25px;
width: 100%;
}
#navigation{
height:40px;
z-index: -1;
}
填充不会影响'背景图像' – 2012-02-19 02:54:08
意识到我张贴后30秒,然后修复它。 – xthexder 2012-02-19 02:57:19