show-notice
hide-notice

Wednesday 7 August 2013

CSS Padding


Introduction:

Padding defines the space between the element's border and its content. CSS padding is specified just like margins - they can be set individually for each side, or all sides at once.

Example:
<html>
<head>
<title></title>
</head>
<body>
<p style="border:1px solid orange;padding:20px;">This text has padding of 20 pixels on all four sides.</p>
</body>
</html>

SHARE THIS POST   

0 comments :

Post a Comment

Design by Gohilinfotech | www.gohilinfotech.blogspot.com