CSS+Print+Resources

=**W3C CSS @import Rule**= []

=**W3C Schools Page Break with CSS**= []

=**Print Stylesheets Discussion**= []

=**Specifying Page Breaks with CSS**= []

=**CSS and Printing (article)**= []

=**CSS Issues with @import (blog article 2009)**= []

=**Best Practices for CSS Print (from Web Design in a Nutshell (3rd Edition)**=

Talk to your client about his/her expectations for print versions of the screen before creating styling the page.

Background image do not print by default, which means any text replaced by image replacement techniques may be lost. You may need to change the style for printing so the text prints out.

If your web page uses floats for long images, make sure that the print style sheet resets floats to none. There is a bug in Gecko-based browsers that causes long floats to get clipped after the second or third page. Setting float:none for long elements fixes this problem.

You may want to change the styling for your links so they blend in with the other text, since people can't link from a printed document. There is a technique to have the link from the href attribute print after the link text as below:

content: " (" attr(href) ")"; }
 * 1) mainContent a:link:after, #mainContent a:visited:after {

Be careful using this method. If there are a lot of links on the page it could make it hard to read. You can use a JavaScript technique found in the article, //Improving Link Display for Print//, on A List Apart ([]).