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






'margin' Syntax and Note

Note:

Controls four different margin style properties: 
    margin-top, 
    margin-right, 
    margin-bottom, 
    margin-left.

Syntax:
    
element { margin: values }
elementID.style.margin = "values"
document.all.elementID.style.margin = "values" // IE only    

    

      
      








Related examples in the same category

1.'margin' Example
2.'margin' is applied to