visibility Attribute Sample

This sample demonstrates the visibility attribute. Notice that, in contrast to the display property, the object (in this case an image) still reserves its physical space on the page when not visible.

sphere image

Mouseover this text to set visibility to hidden on the image of the sphere.




[Right-click and choose View Source from the shortcut menu.]

© 2007 Microsoft Corporation. All rights reserved. Terms of use.