Click to See Complete Forum and Search --> : [RESOLVED] Content magically disappears


Greyfish
04-30-2009, 09:54 AM
Here (http://thewebbakery.com/index.php?media=web&work=CCGB%20Women%27s%20Ministry) is the page with the problem.

When you re-size your browser (horizontally) smaller than the width of all the content, the DIV to the right of the gray line disappears rather than adding a scroll bar, why is it doing this?

View the CSS (http://www.thewebbakery.com/global/css/global.css).

tracknut
04-30-2009, 10:02 AM
It's not disappearing, it's dropping down below your "explore" div because at a certain page size there aren't 720px of space to fit it anymore. I think you need to decide if you're implementing a fluid design (which this is, it mashes itself around the best it can to fit within the browser) or a fixed with design (which is what I suspect you intended). Then change your CSS accordingly (e.g. put a wrapper div around explore and work).

Dave

Greyfish
04-30-2009, 10:12 AM
Ohh ok, so simply putting a wrapper around both my "explore" DIV and "work" DIV should fix the problem? Do I need to give the wrapper a set width/height?

tracknut
04-30-2009, 10:17 AM
Yes, usually what I do for fixed width is come up with the max size (something like 970px if you're trying to fit in a 1024 window), and create a wrapper that size. Then lay in the divs inside. Your explore div needs a size, but I think you can leave the size off your work div and it will just fill the rest of the wrapper.

Dave

Greyfish
04-30-2009, 10:25 AM
Awesome, thankyou very much for your help tracknut.