'padding' Example : padding « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'padding' Example

    
<html>
<body>
<p>The image below has an all-around padding of 30px.</p>
<table>
   <tr>
       <td style="padding='30 30 30 30'">
          <img src="http://www.java2s.com/style/logo.png" 
               height="50" 
               width="50" 
               border="1">
       </td>
   </tr>
</table>
</body>
</html>

    
      
      








Related examples in the same category

1.'padding' Syntax and Note
2.'padding' is applied to