CSS Text Padding
The section called ".textpadding" is a terrific class to use anytime you have a area that just keeps butting up against the sides of the area the content is suppose to be. The section looks like this:
| .textpadding { padding: 10px, 10px, 10px, 10px; } |
All this rule says is to put some padding, in this case 10 pixels on each side, all around the content.
On the web pages this tag is started with "<div class="textpadding">" and end it with "</div>", just like in the Side Left Code we looked at earlier. If you want the padding to be bigger, make the numbers larger. And if you want the padding to be smaller, make the numbers smaller.
Save the file and upload it to your web server if you made any changes.


