Printer Friendly Page

C

Cal

I was told to get a printer friendly page I should create
a .css page. Do I create an embedded or external
Cascading Style Sheet? Then do I just link to it and will
the text appear on the linked page or must I copy the
text to the linked .css page?

Cal
 
J

jon spivey

Hi Cal,
ideally you should create an external style sheet. The code would go
something like this
..dontPrint{
display: none !important;
}
and then assign the dontPrint class to anything you don't want to print, eg
<p class="dontPrint">this stuff won't print</p>
and you'd link it in thusly (is that a word :)
<link rel="stylesheet" type"text/css" href="print.css" media="print">
 
C

chris leeds

Hi Cal,
can I see your page online? I may be able to give you a better answer than
if I just guess.
I'm working on a template for a project and it's got separate sheets for the
print and screen presentation. If you like contact me through
http://nedp.net/support and I'll do my best to help you. I don't read the
email that comes into the address I'm posting with. too much spam ya know
;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top