tags:

views:

123

answers:

2

After I added a new div class for my background image, the top, bottom, and page menus became white. 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"'&gt;
+5  A: 

Using Firebug, I found the problem be caused by line 16 in style.css:

margin:165px auto 20px;

How to debug such problems:

  1. Think of possible causes, repeat this step after each of the following.
  2. Open Firebug by opening a contextmenu on the problematic part (in this case, the blank bottom), and select Inspect Element
  3. Look Hover over the nodes to see which covers the place in which the problem occurs. I've now got the feeling that a possible cause would be incorrect usage of margin, padding or width.
  4. Isolate the CSS / element by looking in the right pane, tab Style. If needed, expand a node.
  5. Disable or change the value of the CSS property to see if it's actually causing the problem.
Lekensteyn
Although I have no idea if this answers the question, I'm just tempted to vote you up because your answer is so nice and clear and gives peace to my heart. Also, +1 for using Firebug on some unidentifiable problem...
Martin
A: 

In your style.css, you have a number of #xxxxx with

background-color:white; and background-color:#fff;

example: #wrapper2 has that.

SO it is doing what you told it to do.

Mark Schultheiss