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
    New to the CF scene
    Join Date
    Oct 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question How do I remove a Scrollbar?

    I am trying to figure out for to remove the scrollbar on my page and its not in frames so It wont let me use noresize and and scrolling=no. I cant seem to find out how to do this because I dont know of many people that would want to remove it in the first place unless you were making a pop up window.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Posts
    1,404
    Thanks
    2
    Thanked 32 Times in 32 Posts
    <style type="text/css">

    body {
    overflow: hidden;
    }

    </style>

    Might be able to do this dynamically too:

    <script type="text/javascript" language="javascript">

    document.body.style.overflow = 'hidden';

    </script>

    Let me test that...

    OK - works!
    Last edited by adios; 10-08-2002 at 06:27 PM.

  • #3
    New to the CF scene
    Join Date
    Oct 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thanks!

    Allright that worked great! i knew it had to be something dumb and easy!

  • #4
    New Coder
    Join Date
    Oct 2002
    Location
    Go CANADA!
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts
    And a double thanks too- to both of you! Even tho I didn't start or ask this, running across it helped one of my pages with frames, now it look purdy.
    Be ReActive.


  •  

    Posting Permissions

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