Site navigation below

Questions answered

Terms explained

Place your text ad here.

World class data recovery software and renowned raid recovery services

WestNIC provides reliable web hosting services

Free software downloads and drivers download resources

Ahosting.biz reseller hosting, managed dedicated server with 24/7 support

This is a glossary of terms used with media dependent stylesheets for the Code Style Media monitor subsection. If you cannot find the term you are seeking here, please use the article feedback form below to request a definition.

For further background on the terms described here, see the CSS glossary.

all

A reference to the collection of all possible media types or descriptors, a single descriptor for all media devices. Use this media descriptor to declare styles for all media, but see All media browser conformance to understand the drawbacks.

@import, at-import (media dependent)

A media dependent @import rule is a method for importing an external stylesheet that is intended for rendering on specific media devices only:

@import url(Projection.css) projection;
          
@media, at-media

An @media rule is a method of defining a nested block of stylesheet declarations intended for rendering on named media devices. The media types are specified in a comma separated list:

@media print{
  P{
    font-size:      12pt;
  }
  H1{
    font-size:      16pt;
  }
}
          
CSS2, Cascading Stylesheets level 2

The second W3C recommendation for the implementation of cascading style sheets, including section 7: media types.

media, media descriptor, media dependent, media specific

A named range of document presentation media or media descriptors that may be supported by CSS2 conforming user agents, namely all, aural, braille, embossed, handheld, print, projection, screen, tty for teletype devices and tv for television display.

The media attribute of a stylesheet link element may be used to specify a comma separated list of relevant media descriptors:

<link
  rel="stylesheet"
  type="text/css"
  href="/styles/CSPrint.css"
  media="print"
  title="Standard" />
          
OperaShow

The full-screen display mode of the Opera Web browser, which renders documents using projection media stylesheets. Similar in effect to popular slide show style presentation applications.

print, print media

The media descriptor that is relevant to documents when they are printed by Web browsers or other user agents, as supported to varying degrees by Opera 3.62, Netscape 6, Internet Explorer 4 and later versions. See Print media browser conformance.

projection, projection media, projection mode

The media descriptor that is relevant to documents when they are displayed in a projection, slide show or kiosk type mode, as supported by Opera 4 and later versions. See Projection media browser conformance.

screen, screen mode, screen display mode

The media descriptor that is relevant to documents when they are displayed on the standard visual display unit of a computer. The W3C recommends that CSS2 conforming user agents should only to render styles that are relevant to screen devices in screen mode; displaying other media styles would be an error. See Screen media browser conformance.

style block

The nested form of declaration used with @media rules to define a block of media dependent styles, see @media above.

Article feedback

Your comments on this article will be appreciated, please use the form below to submit your views. If you would like a reply or article update notification, include your email address.

Information: Your email address will not be mis-used. If you include your address you may be sent a personal reply, you will not be added to any mailing list unless you request update notification. Read the site privacy statement for details.

Style warning - please read

Home · CSS · Java · Javascript · HTML · Help · Log