Properties
CSS
margin-left
The margin-left property sets the left margin of an element.
margin-left: <length> | <percentage> | auto | inherit
| Initial: | 0 |
| Applies To: | all elements except elements with table display types other than table-caption, table and inline-table |
| Inherited: | no |
| Percentages: | refer to width of containing block |
| Media: | visual |
DOM
[window.]document.getElementById("element-id").style.marginLeft = "margin-left";
