Size and positioning

Expression Studio 4.0

The following cascading style sheet properties describe the size and position of elements, and also their z-order and visibility.

Properties

  • bottom   Sets the bottom position of the object relative to the bottom of the next positioned object in the document hierarchy.

  • clip   Sets which part of a positioned object is visible.

  • display   Sets whether the object is rendered.

  • height   Sets the height of the object.

  • left   Sets the position of the object relative to the left edge of the next positioned object in the document hierarchy.

  • max-height   Sets the maximum height for an element.

  • max-width   Sets the maximum width for an element.

  • min-height   Sets the minimum height for an element.

  • min-width   Sets the minimum width for an element.

  • overflow   Sets a value indicating how to manage the content of the object when the content exceeds the height or width of the object.

  • position   Sets the type of positioning used for the object.

  • right   Sets the position of the object relative to the right edge of the next positioned object in the document hierarchy.

  • top   Sets the position of the object relative to the top of the next positioned object in the document hierarchy.

  • visibility   Sets whether the content of the object is displayed.

  • width   Sets the width of the object.

  • z-index   Sets the stacking order of positioned objects.

See also

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show: