'margin-top' Syntax and Note : margin top « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'margin-top' Syntax and Note

Note:

Controls top margin.

Syntax:
    
element { margin-top: value }
elementID.style.marginTop = "value"
document.all.elementID.style.marginTop = "value" // IE only
    

      
      








Related examples in the same category

1.'margin-top' Example
2.'margin-top' Possible Values
3.'margin-top' is applied to