'margin-right' Example : margin right « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'margin-right' Example

    
<html>
<head>
</head>
<body>
<p>The following image has a right margin of 3mm.</p>
<img src="http://www.java2s.com/style/logo.png" 
     height="50" 
     width="50" 
     style="margin-right='3mm'">
</body>
</html>

    
      
      








Related examples in the same category

1.'margin-right' Syntax and Note
2.'margin-right' Possible Values
3.'margin-right' is applied to