By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,067 Members | 1,849 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,067 IT Pros & Developers. It's quick & easy.

Custom footer at the bottom of every printed page

P: 2
In the HTML guides that I'm creating, I'd like to be to have the company name and copyright information appear at the bottom of every printed page. Is this possible? If so, what do I need to add to my print stylesheet?

Rick Henkel
http://rickhenkel.ipdz.com
Sep 28 '06 #1
Share this Question
Share on Google+
2 Replies


100+
P: 143
In the HTML guides that I'm creating, I'd like to be to have the company name and copyright information appear at the bottom of every printed page. Is this possible? If so, what do I need to add to my print stylesheet?

Rick Henkel
http://rickhenkel.ipdz.com
Perhaps create a "printfooter" div in the html, in the normal screen style sheet, set it to display: none and in the print section, display it! Simple, eh? =]

eg - you can contain both stylesheets in one...

media @screen {
div#printfooter { display: none }
}

media @print {
div#printfooter { display: block }
}
Sep 29 '06 #2

P: 2
Perhaps create a "printfooter" div in the html, in the normal screen style sheet, set it to display: none and in the print section, display it! Simple, eh? =]

eg - you can contain both stylesheets in one...

media @screen {
div#printfooter { display: none }
}

media @print {
div#printfooter { display: block }
}

Thanks, Steven. I had already tried that, but it only made the footer appear on the last page printed, not on every page. Is there something simple I'm missing?
Sep 29 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.