Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!
I'm trying to push a DIV to the bottom of a printed page, any suggestions? I can get it to the bottom of the viewport, but the printed page is another problem.
How are you including it in the style sheet? The old way was a full css file for the stylesheet defined by a media print in the meta tag, the modern way is to use
Code:
@media print { … }
in your default css file and add the definition at the foot of the file.
How to put your div at the bottom depends on where the div is to start with. If the div is already the last div element then as a block element use something like { clear: both; width: 100% } to force the block to appear below the one above. If it's inside another div you can use the above to force it below the one above but will still be above any defined divs below it and within the parent container.
.
If you want it separate from other content then position: relative, position: absolute and position: fixed are all available where the div can be fixed relative to it's containing block - either if that is defined as position:relative, or the body/window if there is no relative container.