I'm using sticky footer in my design and for some reason there is a big space from my content to the footer. What might the problem be? I went over my css for sticky footer and it matches everything. I made sure to check if it was a problem with padding or margin and nothing wrong there.
I actually have the same problem on the website I am currently working on, here. I found that if I take away the added margin on one of the objects, it puts everything back to normal in my own browser, but someone with Opera piped up and said that my footer was covering some of my content. So, I believe you did everything right. It is just that some browsers act differently. Thus far, I have just dealt with it.
@johnjf A link to your site would help, we can't help out much with just a screenshot
@mwdewitt your markup is probably missing some closing tags -- your <ASIDE> and MAIN-COL are part of the <HEADER>, I'm not sure if that's what you intended.....
You can get rid of the spacing by changing margin-top:-250px; to top:-250px; though, since it's positioned relative. Then there will be some spacing at the bottom but I think that's because of the first issue(s) I mentioned.
It's because of the .end_footer_ad. It isn't displayed but it takes some space. Just the space you meant. Not sure why you need this Google advertisement on your website if you're a designer yourself.
By the way, why use a sticky footer this way? And what do you mean with sticky? If you want a sticky footer try this:
hey right on @Vermaas. It was that stupid google adsense plugin I forgot to remove. I was doing a test with it couple weeks ago and forgot to remove it. Once I turned that off and removed the plugin, it worked like a charm.
I'm having the same issue. There's a large space between the end of my content and the footer. If I give the body a border I can see that the body is correctly limiting to the height of the window but the HTML is going past it. I can't figure out why.
Try to use float instead of using the block-level property of an HTML element. Well do not try this, do it! You'll see that the styling of your HTML is a lot easier with the use of float on the HTML elements.
Because you don't use float, you've got this issue. Do a float (like: float: left;) on the main header, on the clearfix and the footer and try to style everything again.
@mwdewitt your markup is probably missing some closing tags -- your
<ASIDE>andMAIN-COLare part of the<HEADER>, I'm not sure if that's what you intended.....You can get rid of the spacing by changing
margin-top:-250px;totop:-250px;though, since it's positioned relative. Then there will be some spacing at the bottom but I think that's because of the first issue(s) I mentioned.By the way, why use a sticky footer this way? And what do you mean with sticky? If you want a sticky footer try this:
Thanks everyone for the help :D
There's a large space between the end of my content and the footer.
If I give the body a border I can see that the body is correctly limiting to the height of the window but the HTML is going past it. I can't figure out why.
Link: http://dk.zodiachq.com/profile/
Because you don't use float, you've got this issue. Do a float (like: float: left;) on the main header, on the clearfix and the footer and try to style everything again.