Printing background images

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • navavil

    Printing background images

    Hi

    I used some css class in my web page for graphic design (with url),
    now when I am sending the page to printer all the background images are gone )-:

    ?
    10x
  • Steve Pugh

    #2
    Re: Printing background images

    navavil@netvisi on.net.il (navavil) wrote:
    [color=blue]
    >I used some css class in my web page for graphic design (with url),
    >now when I am sending the page to printer all the background images are gone )-:[/color]

    By default many browsers don't print background images or colours.
    This is irregardless of whether the background is specified in CSS or
    HTML. You can turn on the printing of backgrounds in your browser
    settings and so can your users but you, as an author, can not force
    your users to do so.

    You'll probably want to make a print stylesheet that provides an
    attractive print presentation that does not rely on backgrounds. You
    can also use the print stylesheet to do things like suppress styles
    for links (which means nothing when printed - can't click a piece of
    paper) and maybe totally hide portions of the page (advertising,
    navigation, etc.).

    Steve

    --
    "My theories appal you, my heresies outrage you,
    I never answer letters and you don't like my tie." - The Doctor

    Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>

    Comment

    • Christoph Paeper

      #3
      Re: Printing background images

      *Steve Pugh* <steve@pugh.net >:[color=blue]
      >
      > By default many browsers don't print background images or colours.[/color]

      I just realized, that this is another counter-argument for most CSS image
      replacement techniques. (Although you should usually be able to handle it
      with extra rules for print media.)

      --
      "Space may be the final frontier,
      but it's made in a Hollywood basement."

      Red Hot Chili Peppers - Californication

      Comment

      • Steve Pugh

        #4
        Re: Printing background images

        Christoph Paeper <christoph.paep er@nurfuerspam. de> wrote:[color=blue]
        >*Steve Pugh* <steve@pugh.net >:[color=green]
        >>
        >> By default many browsers don't print background images or colours.[/color]
        >
        >I just realized, that this is another counter-argument for most CSS image
        >replacement techniques.[/color]

        So did I as I wrote that post. ;-)
        [color=blue]
        >(Although you should usually be able to handle it
        >with extra rules for print media.)[/color]

        I have seen some sites where a logo is included at the bottom of the
        page with display: none; in the screen stylesheet and position:
        absolute in the print stylesheet. Yuck.

        Steve

        --
        "My theories appal you, my heresies outrage you,
        I never answer letters and you don't like my tie." - The Doctor

        Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>

        Comment

        • navavil

          #5
          Re: Printing background images

          Steve Pugh <steve@pugh.net > wrote in message news:<20mo11phd m2d0a1qmruslgq1 7j0cchbs8r@4ax. com>...[color=blue]
          > navavil@netvisi on.net.il (navavil) wrote:
          >[color=green]
          > >I used some css class in my web page for graphic design (with url),
          > >now when I am sending the page to printer all the background images are gone )-:[/color]
          >
          > By default many browsers don't print background images or colours.[/color]
          [color=blue]
          > Ste[/color]


          Now i am confused -
          Is it possible to place images not as background useing css ?
          ex: <div Style="XXXXX"></div>

          10x

          Comment

          • Steve Pugh

            #6
            Re: Printing background images

            navavil@netvisi on.net.il (navavil) wrote:[color=blue]
            >Steve Pugh <steve@pugh.net > wrote in message news:<20mo11phd m2d0a1qmruslgq1 7j0cchbs8r@4ax. com>...[color=green]
            >> navavil@netvisi on.net.il (navavil) wrote:
            >>[color=darkred]
            >> >I used some css class in my web page for graphic design (with url),
            >> >now when I am sending the page to printer all the background images are gone )-:[/color]
            >>
            >> By default many browsers don't print background images or colours.[/color]
            >
            >
            >Now i am confused -
            >Is it possible to place images not as background useing css ?
            >ex: <div Style="XXXXX"></div>[/color]

            No (well not counting the content property which isn't supported by IE
            so can't be used on the WWW except for trivial stuff that doesn't
            matter if 80-90% of users never see it).

            Is your image part of the content or just decoration? If it's part of
            the content then put it in the HTML where it belongs. If it's just
            decoration then consider a different decoration scheme for the printed
            version.

            Steve

            --
            "My theories appal you, my heresies outrage you,
            I never answer letters and you don't like my tie." - The Doctor

            Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>

            Comment

            Working...