HTML-footer overrides the HTML content

Asked

Viewed 881 times

-1

The footer I have overlaps with the body contents. I’ve put the footer inside the body and outside it and yet I have this problem. please see image: http://imgur.com/a/TJkti , as I have this form the buttons stop working because the footer is superimposed.

footer code:

  <footer align:center>
    <p> &#174; Galaxy Books Store</p>
</footer>

1 answer

0


A little strange this "align:center" out of the "style" attribute. But regardless, your footer is more likely to have an "Absolute" or "Fixed" position. As you just put an image can not know exactly what the problem, but you could try generically with:

footer{
    display: block;
    position: relative;
    width: 100%;
    clear: both;
}

That in css, obviously... If you want inline styles it would be:

<footer style="display: block; position: relative; width: 100%; clear: both;">
    <p> &#174; Galaxy Books Store</p>
</footer>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.