At ordinary times, the Helper's home (www.bkjia.com) Tutorial intended that many mature websystems would carry a style sheet named print.css. I don't know its function. I will study it today and make some conclusions.
OriginalPrint.css defines styles for printer devices.You can define print css in the following ways:
Reference content is as follows: <Link rel = "stylesheet" href = "/Themes/canbeing/style/print.css" type = "text/css" media = "print"/> @ Import url ("print.css") screen; @ Media print {body {font-size: 12px ;}} <Style media = "print"> body {font-size: 12px ;}</style> |
Actually
Print is a media attribute of stylesheet.There are eight types of media attributes in the style sheet:
AllUsed for all output devices
BrailleBraille tactile feedback device
EmbossedUsed for paging Braille printer
HandheldIntended for handheld devices (usually small screens with limited bandwidth)
PrintUsed for printer preview and Printing
ProjectionUsed for Projector
Screen(Default) used for color computer screens
SpeechUsed for speech synthesizer. CSS2 also has a similar media type (aural)
TtyIt is intended to be used in character grid media with fixed widths (such as telex typewriters, docks, or portable devices with limited display capabilities.
TVFor TV devices (low resolution, color, limited scrolling screen, audio available)
It seems that there are still a lot of details to be aware of when you want to build a high-availability website.
Reference: http://www.w3.org/TR/CSS2/media.html