Results 1 to 3 of 3

Thread: Alternate document for printing

  1. #1
    Join Date
    Sep 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Alternate document for printing

    Alternate document for printing does not work in Firefox 1.04

    Compatibility

    * IE5+: IE 5 and above
    * FF1+: Firefox 1.0+. NS6+ and FF beta are assumed as well.
    * Opr7+: Opera 7 and above.

  2. #2
    Join Date
    Sep 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    can you see why this might be the case? I would really like to find a piece of code that can do this cross-platform

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Use a print style sheet instead. This style sheet should override settings from your screen style sheet (including hiding content like navigation items).

    You include it normally, adding a media attribute to the link or style element:

    HTML Code:
    <link rel="stylesheet" type="text/css" href="..." media="print">
    Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •