Reputation: 309
I have an HTML article that is supposed to be optimized for printing, so I added a print stylesheet. When I try to fix the to the bottom of the last page it is always positioned after the last bit of content instead of the bottom of the last page.
Is there any way to have the footer fixed to the bottom of the last page only?
Upvotes: 3
Views: 2352
Reputation: 1050
use this
#footer {
clear: both;
position: relative;
height: 40px;
margin-top: -40px;
}
Upvotes: 0