Re: Problem with printer friendly support

From: George (anonymous_at_discussions.microsoft.com)
Date: 09/17/04


Date: Fri, 17 Sep 2004 14:21:00 -0700

Chris,
The moving of the link to the bottom of "head" doesn't
work since FrontPage seems to rearrange the code
regardless what I try to do (Murray's suggestion); Meta
names "Theme and Border" are always moved to the bottom!
Regarding your suggestion: How do I "class or ID" code
that isn't in the page? Shared borders are defined in
meta names="Microsoft Border", they are dynamically loaded
and as far as I can judge not in the code of the page I
wish to print.

>-----Original Message-----
>ok, well, even though you may add the stuff for print to
the style ***
>doesn't necessarily mean that it'll work.
>
>you've got to use and @ rule in your page's head section
to let the browser
>know which style *** for print, and you've got to class
or ID the parts of
>your page you don't want to print (in the page itself).
>
>feel free to look at my pages http://nedp.net and hit
file/ print preview
>you'll see them differently formatted.
>
>you can also do view/ source on them to see how the style
sheets are being
>called, and find links to the sheets themselves.
>
>It will work if configured properly.
>
>HTH
>
>--
>Chris Leeds,
>Microsoft MVP-FrontPage
>
>Please feel free to contact me here:
>http://nedp.net/contact/
>--
>"George" <anonymous@discussions.microsoft.com> wrote in
message
>news:001501c49b36$368ebd40$a301280a@phx.gbl...
>> I read about everything on this subject. Regardless
what
>> I code in "print.css" (changing font, color, etc) it has
>> no impact to the output at the printer; I want to drop
>> the "Microsoft Border" for print. I tested in IE6 and
>> Mozilla5. Below is the head section of the test page
and a
>> sample css. Why is this happening?
>>
>> <head>
>> <meta name="GENERATOR" content="Microsoft FrontPage
5.0">
>> <meta name="ProgId" content="FrontPage.Editor.Document">
>> <link rel="style***" type="text/css" media="print"
>> href="print.css" />
>> <title>July 2004</title>
>> <meta name="Microsoft Theme" content="gk-copy-of-
capsules
>> 011, default">
>> <meta name="Microsoft Border" content="tlb">
>> </head>
>> _____________________________________
>> body {
>> color : #000000;
>> background : #ffffff;
>> font-family : "Times New Roman", Times, serif;
>> font-size : 12pt;
>> }
>> a { text-decoration : underline;
>> background : #ffffff;
>> color : #0000ff;
>> }
>> #navigation, #menu, #top, #"Microsoft Border" {
>> display : none;
>> }
>>
>> >-----Original Message-----
>> >I've found the @rules work best. here's an article you
>> should read:
>> >http://www.alistapart.com/articles/goingtoprint/
>> >
>> >also search that site for more print function articles.
>> >
>> >HTH
>> >
>> >--
>> >
>> >--
>> >Chris Leeds,
>> >Microsoft MVP-FrontPage
>> >
>> >Please feel free to contact me here:
>> >http://nedp.net/contact/
>> >--
>> >"George" <anonymous@discussions.microsoft.com> wrote in
>> message
>> >news:8d3b01c49673$48f49350$a501280a@phx.gbl...
>> >> I wish to implement a printer friendly output and
>> >> attempted two approaches:
>> >> 1. Using CSS with "<link rel="style***"
>> >> type="text/css" media="print" href="print.css" />" in
>> the
>> >> head section and a print.css file in the same dir.
>> >> 2. Having "<LINK REL=alternate MEDIA=print
>> >> HREF="test.htm">" in the head section and test.htm
>> >> (containing print preferable output).
>> >>
>> >> However, neither approach works, the printer output
is
>> >> equal to no code at all. I am using FrontPage and
the
>> >> site has shared borders. My issue is that I want to
>> >> eliminate the shared border for printing. I'll
>> appreciate
>> >> any advice/help.
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> >.
>> >
>
>
>.
>


Loading