Changes

Jump to: navigation, search

CSS GUIDE MARGIN

512 bytes added, 13:04, 8 December 2006
Usage Examples
== Usage Examples ==
h1 {margin: 10px}
all four margins will be 10px
 
h1 {margin: 10px 2%}
top and bottom margin will be 10px, left and right margin will be 2% of the total width of the document.
 
h1 {margin: 10px 2% -10px}
top margin will be 10px, left and right margin will be 2% of the total width of the document, bottom margin 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
== Notes ==
1
edit

Navigation menu