Printing

Cbunny Member
Another question...

What setting/coding affects how a page is printed out?

When I use the "Default" theme and print out the index page I get a (sort of) exact replica of the page.

However, when I use the "Stopdesign" theme and print out the index page I get the page as it would appear without css.

What controls this?

Comments

  • acrylian Administrator, Developer
    CSS controls this, the best way is to make a extra print.css.
  • Cbunny Member
    acrylian -

    Neither one of these themes Defaut or Stopdesign has and additional `print.css` but they print differently.

    Could it have something to do with this?

    `/css/master.css" />`

    being in the `` of the index.php for the Stopdesign theme?

    the `edia="screen, projection"` part?
  • acrylian Administrator, Developer
    I think it has to do with that. (I actually never tried this) Sorry, I am not that used to the stopdesign theme. Best you try out.
    BTW, different browser do printing differently and most have browser settings for skipping background images for example, too.
  • Cbunny Member
    I did try it (I added `media="screen"` to that line in the index.php for the default theme) and it turns out that was what was controlling the effect I was seeing.

    The reason I am interested is because as I'm trying to learn this stuff it is helpful to see the structure of the page as opposed to the style (html vs css). It's easy to see the structure when it prints out wo/the effects of the css.
  • Connie Member
    when the css is only included for "screen" and "Projection" there is no CSS defined for print at all and the page will be printed without any css

    so take off the "media="screen,projection" and it will be valid for all media
Sign In or Register to comment.