guyrws wrote on Sat, 27 Sep 2008 02:48:56 -0700 (PDT):
> Hello,
> Yesterday I came across a problem when printing from IE-7. I assume it
> must be site specific, as I have not had this problem before.
> The site page is:
> http://www.globalxperience.com/progr...rview2.php?pk_
> programme_id=82
> All I want to do is print the page as it appears on the screen. i.e.
> onto 2 pages not 6. I have tried:
> 1. The frame work around as suggested by MS help that is Print/Options/
> Print Frames. But the page is not constructed with frames so the ‘Print
> Frames’ is not active, so not selectable.
> 2. Opera
> 3. Firefox
> 4. A print add-on called PrintPunk
> Has anyone any suggestions please?
> Guy.
At a guess, it's due to the CSS being defined as for "screen" and no CSS for
"print", so IE is printing this as specified by the author - with no layout
formatting. If you save the source to your hard disk, add the following line
within the head section:
<base href="http://www.globalxperience.com/programmes/">
and then remove all the
media="screen"
attributes from the CSS references, and load that saved page into IE, when
you print it it'll look almost like the site does (the adverts down the left
get pulled onto page 2, and so page 3 is just the strip of logos at the
bottom of the page).
This is just lazy use of CSS - when defining CSS to use for a particular
media (in this case "screen", for displaying on a screen) the author should
include additional CSS files to use for other media types (eg. "print"). If
the CSS is to be used for all purposes then the media attribute should be
left out.
--
Dan