0

I want to prevent my divs to float out of the browser window if you resize it. Look at this site, and resize the window, and you will see that the divs is floating out. See here. What is wrong? I have tried to set the divs inside a wrapper with no luck. Thank you :)

herre.mann
  • 91
  • 1
  • 3
  • 9
  • http://www.whathaveyoutried.com/? By the way please don't write only in capital letters that is shouting. And nobody will help a person who shouts. – rekire Feb 14 '13 at 08:18

1 Answers1

0

There are a lot of things wrong with this page but heres a few things you should do (some not related to fixing the div issue)

  • Put all <link/> && <script/> && <style/> tags in the head for a start.

and the css you need (though you will probably tell me you want something more after you have applied this) is:

.content {
  clear: both;
  margin: 0 auto;
  overflow: auto;
  top: 100px;
  width: 1000px;
}
Paul Sullivan
  • 2,865
  • 2
  • 19
  • 25