How Do I Control Text or Pictures Using CSS Padding ?
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
</div>
— 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:
http://www.w3.org/Style/CSS/Overview.en.html
Web Design services starting at $289.
SEO and Internet Marketing services starting at $140 per month.
Web Hosting services starting at $149 per year.
We offer the highest quality in
web design and
internet marketing. Websnoogie specializes 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!
June 3, 2017