Use a CSS Alternated Print version

When printing web documents we sometimes need to setup a css alternate print version so we can use a different CSS stylesheet for printing.

The method to achieve this in a webpage is easy, we just need to add a new CSS line inside <head> tags.

<link rel="stylesheet" type="text/css” href="sheet.css" media="print" />

This is the easier way to add your specific rules for printed media.

Advertisement

Did you like it?

No comments yet.

Leave a Comment