EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

color-index media feature

Describes the number of entries in the color lookup table of the output device. If the device does not use a color lookup table, the value is zero.

Possible values

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

Remarks

The specified integer value cannot be negative.

Examples

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


@media all and (color-index) { 
  ...
}
@media all and (min-color-index: 1) {  
  ...
}

The following declaration indicates that a style sheet applies to a color index device with 256 or more entries.


<?xml-stylesheet media="all and (min-color-index: 256)" href="http://www.example.com/..." ?>

 

 

Afficher:
© 2014 Microsoft