Jump to content
Fórum Script Brasil
  • 0

Espaço em branco abaixo do footer


Artur Haddad

Question

No final do meu site fica um espaço branco entre o footer e o final da página, nas resoluções menores o footer fica no fim normalmente.

Alguém sabe como resolver este problema?

#bottom-container{

width:100%;

height:auto;

background-color:#65696e;

float:left;

padding-bottom: 15px;

}

#footer-content{

width:960px;

height:120px;

background-image:url(images/footer-glow.png);

background-repeat:no-repeat;

background-position:top center;

margin:0px auto;

}

LINK DO SITE: http://mgdownhill.com.br/

Valeu

EDIT:

Resolvido, usando http://ryanfait.com/resources/footer-stick...bottom-of-page/

CSS:

* {
margin: 0;
}
html, body {
height: 100%;
}
.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -4em;
}
.footer, .push {
height: 4em;
}
HTML:
<html>
    <head>
        <link rel="stylesheet" href="layout.css" ... />
    </head>
    <body>
        <div class="wrapper">
            <p>Your website content here.</p>
            <div class="push"></div>
        </div>
        <div class="footer">
            <p>Copyright (c) 2008</p>
        </div>
    </body>
</html>

Edited by Artur Haddad
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...