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

Home
HTML CSS Reference
1.CSS Attributes and Javascript Style Properties
2.HTML Attributes Reference
3.HTML Tag Reference
HTML CSS Reference » CSS Attributes and Javascript Style Properties » margin top 
'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
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.