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 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2012
    Posts
    16
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Question Getting scrollbar of page to show up?

    Why isn't a scrollbar appearing on my page? I've got an image at the bottom of the page that only the top half is showing, there is no scroll bar to scroll down.

    here's the css:

    Code:
    .scrollenabled
    {
    	overflow:scroll;
    }
    and then in the html:

    Code:
    <body class = "scrollenabled">
            blahblahblah
    </body>
    All my elements on my page are positioned fixed... would that affect the scroll bar not working?

  • #2
    Regular Coder
    Join Date
    Jul 2012
    Location
    London
    Posts
    473
    Thanks
    4
    Thanked 86 Times in 86 Posts
    You say you have an image?

    If so do
    Code:
    .scrollenabled img {
         overflow:scroll;
    }
    Code:
    <body class="scrollenabled">
            blahblahblah
    </body>
    Body?

    Do you mean Div?

    If you want to do change something in the body, you use in css

    Code:
    body {styles}


  •  

    Posting Permissions

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