padding right css code example
Example 1: css padding
padding: 5px 10px 15px 20px;
padding: 10px 20px;
padding-top: 5px;
padding-right: 10px;
padding-bottom: 15px;
padding-left: 20px;
Example 2: padding css
padding:10px 5px 15px 20px;
means
top padding is 10px
right padding is 5px
bottom padding is 15px
left padding is 20px
Example 3: css text align right
body {
text-align: right;
}
Example 4: span to left css
<div class="title">
<span class="name">Cumulative performance</span>
<span class="date">20/02/2011</span>
</div>
.title .date { float:right }
.title .name { float:left }
Example 5: padding css
.box {
padding: <padding-top> || <padding-right> || <padding-bottom> || <padding-left>
}
Example 6: padding css
padding is clockwise