CSS GUIDE LEFT

From CDOT Wiki
Revision as of 23:28, 11 December 2006 by SaraM (talk | contribs) (Legal Values)
Jump to: navigation, search

This document is a work in progress and is subject to change.

Summary

The left property is used to horizontally offset from the left edge of an element.

Applicability:The left property can be used for all CSS elements.
Media Group: Visual
Inherited:No

Syntax

TARGET_ELEMENT{left: inhert !important}
TARGET_ELEMENT{left: auto}
TARGET_ELEMENT{left: 20%}
TARGET_ELEMENT{left: 20px}

Legal Values

ValueDescription
inheritExplicitly sets the value to that of the parent
autoAllows the browser to calculate the left position of the element
percentageSets the left position in a percentage from the left edge. Can be 0%-100%
lengthSets the left position in pixels (px), centimeters (cm), etc, from the left edge.

Mozilla Recommended Values

Usage Examples

Notes

Specification Conformance

Browser Compatibility

See Also