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

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 » padding right 
'padding-right' Example

        <td id="myTd">
            <img src="http://www.java2s.com/style/logo.png" height="50" width="50" border="1">
<button onclick="myTd.style.paddingRight=0">Set padding to 0</button>
<button onclick="myTd.style.paddingRight=20">Set padding to 20</button>

Related examples in the same category
1.'padding-right' Syntax and Note
2.'padding-right' Possible Values
3.'padding-right' 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.