Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Problem with 100% height div

  • 10-04-2011 2:28pm
    #1
    Closed Accounts Posts: 1,419 ✭✭✭


    Hi, I'm going nuts.
    I want a wrapper div to display 100% of the page height no matter what the size of the content of that wrapper.:confused:
    Here's my CSS code:

    #wrapper {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: .8em;
    color: #666666;
    width: 760px;
    margin-right: auto;
    margin-left: auto;
    background-color: #CCCCCC;
    position: relative;
    min-height: 100%;
    }

    html, body {

    height: 100%;

    }

    All of the divs contained inside the wrapper div are set to absolute.
    Any help at all would be much appreciated.


Comments

Advertisement