Open main menu

CDOT Wiki β

Changes

CSS GUIDE MARGIN

12 bytes added, 13:07, 8 December 2006
Usage Examples
== Usage Examples ==
<pre>
h1 {margin: 10px}
all four margins will be 10px
h1 {margin: 10px 2% -10px auto}
top margin will be 10px, right margin will be 2% of the total width of the document, bottom margin will be -10px, left margin will be set by the browser
</pre>
== Notes ==
1
edit