CSS LEFT - CSS3 Examples

CSS LEFT

Written by jon on 11:18 PM
This describes the horizontal offset for the left edge of the absolutely positioned element box from the left edge of the element’s containing block. For relatively positioned boxes, the offsets are relative to where the box would appear normally in the document flow. Positive values are to the right of the parent block’s left edge and negative values are to the left.

Example
h2 { display: block; position: absolute; top: 20px; right: 50px; bottom: 20px; left: 50px }

<h2 style=”display: block; position: absolute; top: 20px; right: 50px; bottom: 20px; left: 50px”>content</h2>

Possible Values
Value Description
inherit Explicitly sets the value of this property to that of the parent.
auto Default offset in the regular layout of the page.
[length] Refers to an absolute distance from the reference containing block. Negative values are allowed.
[percentage] Refers to a percentage of the height of the parent containing block. If the parent containing block does not have an explicit value, this value is interpreted like ‘auto'.

Related Posts by Categories



Widget by John | Interviewghost
  1. 0 comments: Responses to “ CSS LEFT ”

RECENT COMMENTS

SUBSCRIBE TO CSS3 EXAMPLES

 Subscribe to css3 Examples via RSS
Or, subscribe via email:
Find CSS3 Examples Entries :