Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- CSS Background Printing Problems


tedster - 11:48 pm on Dec 9, 2000 (gmt 0)


>is there a code in CSS to suppress top-theme printing on every page extept the first one?

Printing from the web is a very tangled subject. CSS was originally conceived as a means of specifying display characteristics, but the W3C has also been wrestling with printer specific (or "paged media") extensions to CSS for several years. The problems are many - related to both the specific browser AND the printer software.

The short answer is, no. Marcia's suggestion of trying background-repeat:norepeat is worth a try, but just because it works on one browser/printer setup is no guarantee it will always work. This code was created for the monitor, not the printer, and even so, it's unevenly supported cross-browser and cross-platform (as is all of CSS so far).

I'd say your best bet is to create another "printer-friendly" version of the page and link it in some obvious place on the displayed page. In fact, one of the angles of attack taken by the W3C has been to allow a different document to be specified when the browser prints a page.

Here's a web page [w3.org] specifically on printing and CSS from the W3C. You may find some helpful info there as well.


Thread source:: http://www.webmasterworld.com/css/4.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com