print a part of page

S

sandra stewart

Is there a way to have the viewer of the website click on
a hyperlink which will cause a PORTION of the page to be
printed on his printer?
 
M

Mark Fitzpatrick

I haven't tried this yet myself, but you can specify some print options
through Cascading StyleSheets (CSS). You can run a search about this in
google as I don't have any really great links off the top of my head, but
here is one to get you the gist of it
(http://diveintomark.org/archives/2002/04/26/printfriendly_links.html)
You'll probably have to alter the page so that part of it uses one set of
styles (not to print) while the other portion uses a different style (to
print). This probbaly won't work on all browsers as it's newer
functionality.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - ForntPage
 

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

Top