Hey there turpentyne,
Post your full code.
The problem is that you are most likely using a fluid
layout (using the whole screen). Try resizing this very window, codingforums will collapse as well.
There is fixed
layout (960px wide and centered - look at youtube
), there's fluid
layout which is 100%, and elastic
which is a mix. 960px is standard as the smallest possible browser width size, so that even for tiny monitors, the page is still fully visible. http://www.w3schools.com/browsers/browsers_display.asp
I recommend starting out with a fixed layout, since with fluid and elastic you will experience collapsing elements.
In short, if you are using 100% width of the screen and resize the browser, elements will collapse.
or you could be a total boss and resize things based on browser size http://css-tricks.com/
which is very advanced