media property

Sets or retrieves a list of media types for which this style sheet is used.

Document Object Model (DOM) Level 2 Style Specification, Section 2.2Internet Explorer 9

 

Syntax

JavaScript

p = object.media

 

Property values

Type: Variant

a list of media types for which this style sheet is used.

Standards information

See also

CSSImportRule
Reference
href
styleSheet

 

 

Show:
© 2014 Microsoft