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 http://learnlayout.com
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘CSS’ is closed to new topics and replies.