cheat sheets.

$ cheat css_media
Common:
  all           Suitable for all devices.
  screen        Computer screens and most handheld devices.
  print         Page-delimited mode for printing and print preview

Rare:
  projection    Projections/presentations, used by Opera 4+ fullscreen mode
  aural         Speech synthesizers, used by Firevox. Deprecated in CSS 2.1
  speech        Speech synthesizers, reserved.
  tv            Television displays, used by WebTV.
  handheld      Handheld devices, supported by Symbian.

Not used by any known agents:
  braille       Braille tactile feedback devices.
  embossed      Paged braille printers.
  tty           Fixed width character grid such as terminals.

@import url("fancyfonts.css") screen, print;
load the file fancyfonts.css for screen and print within your CSS.

@media print { /* style sheet for print goes here */ }
Inline style rules for print within your CSS

<link rel="stylesheet" type="text/css" media="print" href="print.css">
HTML inclusion of different sheets based on agent media type
Version 3, updated 22 days ago.
. o 0 ( edit | previous | history | diff )
( add new | see all )