mediamedia*
*Contents  *Index  *Topic Contents
*Previous Topic: maxLength
*Next Topic: method

media

Description

Sets the media type through the STYLE and LINK elements.

Syntax

object.media[ = media]

ParameterDescription
MEDIADesigned for rendering on these media. Default value is ALL.
SCREEN - Output is intended for nonpaged computer screens.
PRINT - Output is intended for paged, opaque material and for documents on screen viewed in print preview mode.
ALL - Applies to all devices.

Remarks

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

LINK, STYLE


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.