Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
Printer Friendly web pages
Thara Visu
Ranch Hand
Posts: 87
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi all,
What are the best practices for printer friendly pages? Also when we write a
JSP
should we also have another printer friendly copy of the JSP or are there other ways of doing it?
Thanks in advance,
Thara<br />SCJP 1.4 96%<br />SCBCD 1.3 96%
Zip Ped
Ranch Hand
Posts: 336
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
Printer friendly web pages can be configured by using a css file for deciding the layout of the print copy of your web page.
The code below shows how to link the css and the attributes required.
<link rel="stylesheet" type="text/css" href="../css/print.css" media="print"/>
The print.css has the definitions of the styles for the html elements which you want to print.
You can google on printer friendly web pages for more help.
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Not much to do with JSP, so moving off to the HTML/Javascript forum.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Tick check! Okay, I guess that was just an itch. Oh wait! Just a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Printer Friendly View
Printer Friendly View
How to get the printer friendly version of a JSP
Problem in print printer friendly version
Printer friendly version
More...