What should be the proper height of wrapper

  • # November 8, 2008 at 2:38 am

    Hi I want my webpage to fit exactly in the browser window. I have decided that the width to do that should be 960px. But I am not sure of the height. Please give me some hint as to what should be the height of the page for the purpose.

    Thank you for your time.

    # November 8, 2008 at 7:13 am

    html, body and the wrapper’s height needs to be 100%:

    html {
    height: 100%;
    body {
    background-color: #000000;
    margin: 0;
    height: 100%;
    #wrapper {
    width: 960px;
    margin: 0 auto;
    height: 100%;
    background-color: #1F669A;
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.