Site Logo  

Welcome to the
Build It Yourself Website .com

 
Under Construction
Note: This site is currently under construction.
 
 
Menu



Get your free Build It Yourself Website .com Template.

Right click and choose "Save Target As..."

Right Click - Save Target As...




Additional Information









 

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.

That Was An Easy One!

    



 
 

Google



Additional Links    •    Search    •    Contact Us    •    Site Map



Any problems with this site, please feel free to contact the webmaster.

 



By viewing this site, you agree to the
Terms of Use Policy.

Copyright © 2002-2010 Build It Yourself Website .com