print a part of page

  • Thread starter Thread starter sandra stewart
  • Start date Start date
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?
 
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
 
Back
Top