print css

When printing an HTML document, these CSS stylerules are applied. Their purpose is to improve the print result e.g. by hiding banners and ads, correcting colors and font-sizes and generally adjusting the layout for printing.

If you mention printing with CSS to many people who work on the web, print style sheets are the use that comes to mind. We are all well used to creating a style sheet that is called upon when a web document is printed. These style sheets ensure that the print version is legible and that we don’t cause a user to print out huge images. However, CSS is also being used to format books, catalogs and brochures — content that may never have been designed to be a web page at all.