Murray
Sat Sep 18 11:26:54 CDT 2004
Chris:
> I was also working yesterday on not just reformatting a page for print but
> using the media=print to actually display different headers and footers
> than
> screen media.
This works very well.
> I'd highly recommend any new developer put .css at the top of their list
> of
> stuff to learn.
I would agree. But a sound foundation in HTML layout methods is essential.
I usually recommend to use CSS for text styling while learning how to build
stable tables. Once that point is reached, it's time to move to CSS
advanced topics. Building good tables is still one of the most important
techniques in your toolbox, in my opinion, with or without CSS.
--
Murray
"Chris Leeds, MVP-FrontPage" <Leeds@mvps.org> wrote in message
news:u4558NYnEHA.396@TK2MSFTNGP10.phx.gbl...
> Thanks for the follow up.
> I'm always interested in doing stuff with style sheets.
> I've developed some (I think) cool tricks, such as using an @ rule to call
> the style sheet (and hide from old browsers) and simultaneously add a
> .warning class to a message at the page bottom about "you're seeing this
> page unformatted due to poor browser support.....", so if the style sheet
> gets loaded my warning is display: none; but visible without the style
> sheet
> loading.
>
> I was also working yesterday on not just reformatting a page for print but
> using the media=print to actually display different headers and footers
> than
> screen media.
>
> I really wish that I'd gotten into this stuff when I first got into web
> design. I remember reading Jim Buyen's book where he eluded to the
> importance and future use of a style sheet, but I didn't give it the
> attention I should have, steering instead towards modifying and making
> FrontPage templates and themes.
>
> oh well, live and learn. ;-)
>
> I'd highly recommend any new developer put .css at the top of their list
> of
> stuff to learn. The best book I've ever read on the subject (and refer to
> embarrassingly often) is HTML Utopia from www.sitepoint.com although I'm
> not
> completely sold on table-less design, it's a very good book and the
> techniques can be applied to classed and id'd tables, cells, and rows. ;-)
>
> --
> Chris Leeds,
> Microsoft MVP-FrontPage
>
> Please feel free to contact me here:
>
http://nedp.net/contact/
> --
> "Murray" <forums@HAHAgreat-web-sights.com> wrote in message
> news:uTBPKhQnEHA.1992@TK2MSFTNGP10.phx.gbl...
>> Chris:
>>
>> This is true if you have multiple stylesheets with no media assignment or
>> with "all" as a media assignment. If you have
>>
>> <link media="screen"
>>
>> and
>>
>> <link media="print"
>>
>> then it doesn't matter what the sequence is.
>>
>> --
>> Murray
>>
>> "Chris Leeds, MVP-FrontPage" <Leeds@mvps.org> wrote in message
>> news:%23uWcEIPnEHA.3908@TK2MSFTNGP09.phx.gbl...
>> >I never heard that before!
>> >
>> > --
>> > Chris Leeds,
>> > Microsoft MVP-FrontPage
>> >
>> > Please feel free to contact me here:
>> >
http://nedp.net/contact/
>> > --
>> > "Murray" <forums@HAHAgreat-web-sights.com> wrote in message
>> > news:esdJTN1mEHA.2740@TK2MSFTNGP12.phx.gbl...
>> >> Make sure your link to the print stylesheet is the lowest one on the
>> >> page,
>> >> e.g.,
>> >>
>> >> <link rel="stylesheet" src="print.css" type="text/css" media="print">
>> >> </head>
>> >>
>> >> --
>> >> Murray
>> >>
>> >> "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="stylesheet" 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="stylesheet"
>> >> >>> 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.
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>
>> >> >>
>> >> >>.
>> >> >>
>> >>
>> >>
>> >
>> >
>>
>>
>
>