You are here: Re: Missing some part of page when printing « HTML « IT news, forums, messages
Re: Missing some part of page when printing

Posted by John Hosking on 05/13/07 00:58

duzhidian@gmail.com wrote:

> When I print some web page, for example
> http://www.gnu.org/
> http://en.wikipedia.org/wiki/Html
>
> When I print these two pages, the right side, Key resources... of the
> first page and
> the left part (directory of wiki)
> are missing.
>
> Why ?

Because that's how the webmasters styled their sites. They each have a
separate CSS file for media="print". In Wikipedia's commonPrint.css
file, for example. there's a rule for (among other selectors)
div#column-one
{ /* Hides all the elements irrelevant for printing */
display: none;
}

> I also want to print then out, how to do ?
>
> I am using firefox.

If you have the Web Developer extension installed, you can go to CSS -
Disable Styles - Print Styles to, well, disable the print styles. Note
that the left-side directory on the Wikipedia page shows up way down
after the other content. Note also that disabling the print stylesheet
will affect other aspects of the printed results, not just the
visibility of certain elements.

--
John

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация