left attribute

Used By:All block elements
See:border-left height margin-left padding-left position top width

The distance to offset this block towards the right.

Generally this will be left at zero, in which case (barring td elements) the left of the block is left edge of the containing block, plus the value of margin-left, padding-left and border-left. The value can be positive or negative to move the block right or left as required. For inline blocks this attribute is ignored.

This creates an inner DIV which starts halfway across the outer DIV. The same affect would be had by setting "align=right"

<div width="100%">
  <div left="50%" width="50%">
    Halfway across the outer DIV