Hello again.

I have a wrapper div that contains all my content, including the footer. The wrapper is 960px wide and height is set to auto on most pages, but not all. How do I get the footer to sit in the bottom right-hand corner of the wrapper div? I've look at sticky footers, but that's not what I really want. Will I have to push it down with the above div's or is there a simple solution? Thanks

1 answer

2
points

I've overcome this in the past by putting the footer outside the wrapper and then using a negative top margin to pull it back into the bottom space, add padding to the bottom of wrapper to allow space for footer.

This way if you set a height for wrapper you can be sure the footer will be at the bottom of it.

Answered about 8 years ago by Tony Crockford
  • Many thanks. I will try that. sbl2000 about 8 years ago