Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problem with setting Footer to end of page

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #37313
    Al3ks
    Participant

    I have made this jsfidle: http://jsfiddle.net/XWUQn/

    i want the footer at the bottom of the page but so that nothing else changes other than that.

    Would really appreciate any help
    Thanks

    #99815
    Al3ks
    Participant

    if i apply the p.main class it is all the time on the top, without class it is at the bottom…

    #99818
    Mikefmi
    Member

    Remove float: left; from p.main, and you will see that the footer will move to the bottom. Removing the relative positioning will also help. Floats can some times be a bit of a pain, and relative/absolute positioning should really be thought through before using. I could go on about why these work the way they do, but I recommend reviewing Chris’s video tutorials on floats and another on positioning. Chris is a very good teacher!

    #99821
    Al3ks
    Participant

    Thanks Mikefmi :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.