Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Dec 2002
    Location
    NW Iowa
    Posts
    185
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Show DIV, missing scrollbars

    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/...tact.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

  • #2
    Regular Coder
    Join Date
    Nov 2003
    Location
    Vancouver Island Canada
    Posts
    139
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You have your scripts outside of the head of your document, if you move them into the head section you will get scrollbars.

  • #3
    Regular Coder
    Join Date
    Dec 2002
    Location
    NW Iowa
    Posts
    185
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Glen, thanks for the quick reply, but I didn't have any luck with that. Any other ideas?

  • #4
    Regular Coder
    Join Date
    Dec 2002
    Location
    NW Iowa
    Posts
    185
    Thanks
    9
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •