SitePoint
Reference
CSS
Box Properties
Padding
padding-bottom
CSS Live Demo: padding-bottom
(this page)
See also:
All Live Demos
CSS Live Demo: padding-bottom
Type your
CSS
here:
(any properties allowed except expression, behavior and @import)
#example p { padding-bottom:20px; } p { border:4px solid orange; background:#fec; } p span { display:block; border:1px solid blue; background:#ecf; }
Type your
HTML
here:
(any tags allowed except script, iframe, frame, object, img and embed)
<div id="example"> <p><span>Is this the bed I chose to make? It's greener pastures I'm thinking about, hmmm. Wide open spaces far away.</span></p> </div>
Show me!
Your results appear here: