View Full Version : Show DIV, missing scrollbars

12-10-2005, 05:48 PM
I'm using code to show and hide specific DIV tags, the only problem is, that when I show a DIV, it can push the code below the browser display area, and scrollbars don't show up when the vertical resolution is set at 768 pixels or lower.


If you click "Details", it shows the details div, and pushes the "Submit" button below the viewable area, and the scrollbars disappear. This is a problem of course, because I can't submit the form using the mouse.

If there is anything I can do to make the scrollbars show up, please help me out. I'd rather not have to redesign this.


12-10-2005, 06:02 PM
You have your scripts outside of the head of your document, if you move them into the head section you will get scrollbars.

12-10-2005, 06:12 PM
Glen, thanks for the quick reply, but I didn't have any luck with that. Any other ideas?

12-10-2005, 10:15 PM
Issue resolved. For anyone who comes across this via a search, here is what I did to fix it:

I added the overflow:auto style to the body tag.