A simple way of using CSS padding when designing your website is inline (within the HTML statement). You can pad images or text using inline CSS or a style sheet file. Some of the flavors (properties) of padding are:

padding-left: xxpx;
padding-right: xxpx;
padding-top: xxpx;
padding-bottom: xxpx;

Where xx is the number of pixels in this case.

An inline example of using padding:

<div style=”padding-left: 10px”>TEXT OR PICS HERE

— OR —

.your-image {

padding-left: 10px;

Keep in mind this is not a complete and inclusive explanation of how to use image padding. If you are learning HTML and CCS and you need further information. please see:


Web Design Services Starting at $200
SEO Services Starting at $140 per month
Web Hosting Services starting at $79 per year
We offer the highest quality in web design and marketing. We specialize in nonprofit (NPO, 501, NGO, Not for profit) organizations and small business contractors (including roofers, carpet companies, cleaning companies, landscape companies, remodeling/construction companies). We are based in Omaha, Nebraska, but we have customers located across the United States.
If you would like to know more about our company and who we are, feel free to look at our about us page, and how we can help you enhance your business.

Feel Free to Share!

Leave a Reply

Your email address will not be published. Required fields are marked *

Tami -- with Websnoogie, LLC
Nonprofits! We may build your website for free or at a discounted rate.Learn More