WordPress.org

Ready to get started?Download WordPress

Forums

scroll bar annoyance >:( (1 post)

  1. mrwolfy
    Member
    Posted 3 years ago #

    I am trying to get a sticky footer working, I think it works now, but I have an unwanted scroll bar now on the right side of the browser. Not sure what is causing this

    http://oliverdwolf.com/?page_id=4

    I'm using this tutorial, which calls for two divs and a modification to the footer.

    html, body {
            height: 100%;
    }
    
    #container {
    	min-height: 100%;
    }
    
    #wrap {
            overflow:auto;
    	padding-bottom: 150px;
    }  /* must be same height as the footer */
    
    #footer {
            position: relative;
    	margin-top: -150px; /* negative value of footer height */
    	height: 150px;
    	clear:both;
    }

    I have put borders around the html(blue), body(green), container(red), wrap(orange), in an attempt at trouble shooting.

    Any ideas? Thanks for reading!!!

Topic Closed

This topic has been closed to new replies.

About this Topic