Open main menu

CDOT Wiki β

Changes

CSS GUIDE MARGIN LEFT

424 bytes added, 03:10, 12 December 2006
no edit summary
== Summary ==
Sets the left margin of a given element.*Inherited: No
== Syntax ==
TARGET_ELEMENT {margin-left: value;}
== Legal Values ==
length - fixed left margin entered as pixels (px), centimetres (cm) or inches (in)
percentage - left-margin value entered as a percentage (%)
auto - left-margin value is selected by the browser.
== Mozilla Recommended Values ==
== Usage Examples ==
<pre>h1 {margin-left: 10%;}</pre>
 
<pre>h2 {margin-left: 20px;}</pre>
 
<pre>h3 {margin-left: -40px;}</pre>
 
== Notes ==
Negative values are allowed.
== Specification Conformance ==
1
edit