Print main page

M

Michael

Is there a way to allow my readers to print ONLY the main page and not the
shared borders or iframes?

Always appreciate the great help here. Thanks!

Michael
 
T

Tom [Pepper] Willett

The only sure-fire way is to not post the pages on the internet ;-)
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
---------------------------
: Is there a way to allow my readers to print ONLY the main page and not the
: shared borders or iframes?
:
: Always appreciate the great help here. Thanks!
:
: Michael
 
M

Michael

Funny, but not really what I was trying (and failing) to say. I mean a
button that would allow them to easily print just the main portion of the
page without the clutter and ink of the shared borders and iframes.
ANy ideas?
Michael
 
R

Ronx

Use CSS to hide elements from the printer - see
http://www.alistapart.com/articles/goingtoprint

Basically, taking the top shared border as an example:

Open the top shared border in FrontPage - _borders/top.htm
Wrap the entire content in a div with class that will be defined to hide
when printing - in code view:

<body>
<div class="noprint">
Rest of content - banners, navigation, whatever
</div>
</body>
</html>

Do the same to all shared borders, and pages used in iFrames

Add the following CSS block to EVERY page (including those used in
iFrames):

<style type="text/css" media="print">
..noprint {display: none;}
</style>

This goes just before the </head> tag in code view - FrontPage will move it
when you save the page to place its shared border meta tags below it.

Note that this will not work in IE5.5 and earlier, and as Tom implied,
anyone can turn off CSS.
 
K

Kathleen Anderson

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