I see that HTML5 supports the <footer>
tag. But I am using XHTML 1.0 and this tag is not supported.
Is there any other way that I can implement a footer? Ideally it would only show when in print mode, and at the bottom of every page.
I have tried to find an alternative to the footer tag. But to no avail.
Thank you.
Use div tag with class footer and define different css for media print and screen.
@media screen {
.footer { visibility: hidden; }
}
@media print {
.footer { visibility: visible; }
}