When the window is minimized the website pushes the content back and and replaces with white. the screenshots are located here: link to the screenshots, html, css

Have any ideas on how I can fix this?

1 answer

Ktash 1851
This was chosen as the best answer

My best guess just from a quick glance at your CSS and the issue is that you are getting it because #content_wrap has a width of 980px and a padding of 10px, adding up to a total of 1000px, while as your header is just 980px. The white comes in as the page tries to compensate for the difference.

Answered almost 9 years ago by Ktash
  • Wow, wow did I not notice that, it corrected the white space on the footer but not the header. Ralph Stone almost 9 years ago
  • Nvm, I figured it out. Thanks so much for your help. you always take the time to answer my question and they are always good answers, so thank you. Perhaps I will be able to help you with one of your questions someday. (: Ralph Stone almost 9 years ago
  • My pleasure. Glad to help when I can. I've been doing this long enough to make these mistakes a few hundred times before, so I'm usually pretty good at figuring out the issue ;) Ktash almost 9 years ago
  • It's best practice to set a div's width to what you want minus the padding accountable for both sides. If you want a 960px width site with 5px padding set the width to 950px. Trevor Landau almost 9 years ago