Difference between revisions of "CSS:Devices"
Revision as of 00:34, 5 March 2013
|Table of contents|
A really clever technique that you can use, is to have a style sheet that is device specific. For example, you can put a menu in a div tag and show it when displayed on the screen but hide it when printed.
Objective Cascading Style Sheets
By the end of this page you will be able to:
The <LINK> tag also takes an optional MEDIA attribute, which specifies the medium or media to which the style sheet should be applied. Possible values are
- screen (the default value), for presentation on non-paged computer screens;
- print, for output to a printer;
- projection, for projected presentations;
- aural, for speech synthesizers;
- braille, for presentation on braille tactile feedback devices;
- tty, for character cell displays (using a fixed-pitch font);
- tv, for televisions;
- all, for all output devices.
- WDG (2007) Linking Style Sheets to HTML. Retrieved March 31, 2008 from http://htmlhelp.com/reference/css/style-html.html