为我的背景图片添加了一个新的div类后,顶部,底部和页面菜单变为白色。 的style.css什么是造成顶部和底部的空白?
#boundless{
background-image:url('http://thehypebr.com/wp-content/uploads/2010/09/boundless-sem-branco-2.jpg');
background-repeat:no-repeat;
background-attachment:fixed;
line-height:20px;
font-size:14px;
font-family:"Trebuchet MS";
margin:0
}
的index.php
<body>
<div id='boundless' onclick='window.location.href="http://boundlessny.com/clothing"'>
天啊!请正确格式化您的代码(缩进四个空格)。除此之外,这是很多代码(并且标记似乎已经丢失,无论如何)。 – jwueller 2010-09-23 13:34:52
Aua。 Augenkrebs。 – 2010-09-23 13:34:56
你添加了哪个选择器?相关的HTML在哪里?此外,一个现场示例在这里会更有益处。要求我们浏览大量的代码并不是很公平!帮助我们来帮助你:) – Kyle 2010-09-23 13:35:58