Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

monochrome media feature

Describes the number of bits per pixel in a monochrome frame buffer. If the device is not a monochrome device, the output device value will be 0.

Possible values

  • Value: <integer>
  • Applies to: visual media types
  • Accepts min/max prefixes: yes


The specified integer value cannot be negative.


The following two declarations indicate that a style sheet applies to all monochrome devices.

@media all and (monochrome) { 
@media all and (min-monochrome: 1) { 

The following declaration indicates that a style sheet applies to monochrome devices with more than 2 bits per pixels.

@media all and (min-monochrome: 2) { 

The following declarations indicate that there is one style sheet for color devices and another for monochrome devices.

<link rel="stylesheet" media="print and (color)" href="http://..." />
<link rel="stylesheet" media="print and (monochrome)" href="http://..." />



© 2015 Microsoft