displaydisplay*
*Contents  *Index  *Topic Contents
*Previous Topic: cursor
*Next Topic: filter

display

Description

Indicates whether an element is rendered. If set to none, the element is not rendered. If set to one of the other values, the element is rendered. The default is to render the element.

Note Values for block, inline and list-item are not supported explicitly, but are useful in setting the display property to be on. In contrast to the visibility attribute, display:none reserves no space for the element on the screen.

Syntax

{ display: none | block | inline | list-item}

Remarks

For values other than none, the element will display with its normal display type.

This attribute is not inherited.

Applies To

TABLE, INPUT, TEXTAREA, INPUT type=button, DIV, SPAN, IFRAME, IMG, BODY, MARQUEE, SELECT

Scripting Property

display


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