...

View Full Version : Show DIV, missing scrollbars



mattboy_slim
12-10-2005, 06: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.

http://www.mattstanzel.com/contacts/view_contact.asp?ID=54

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.

Thanks,
Matt

glenmac
12-10-2005, 07: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.

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

mattboy_slim
12-10-2005, 11: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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum