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

Home Forums CSS How to make a block of text showing up at the bottom of page?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #261346

    I attempted to set a small block of text close to the bottom of a page. According to mozilla documentation, margin-bottom: 10px; /* An absolute length */
    my code even added the !important attribute

    footer {margin-bottom:10px !important}
    however, this block of text still shows up several hundred px above the bottom margin.
    How am I supposed to do it?



    It depends on various things (not really something we can guess at without seeing other elements on your page and how this particular one fits in) but you might want to read up more on positioning. Here’s a good website for you to learn more about layout

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