This is an example of setting the padding, margin and border
properties around a tag. The margin is the spacing outside the
border and the padding is the spacing between the text and
border. On some browsers, the vertical margins may collapse, see
the http://www.w3c.org documentation.
And Caesar's spirit, ranging for revenge, With Ate by
his side come hot from hell, Shall in these confines
with a monarch's voice Cry 'Havoc,' and let slip the
dogs of war; That this foul deed shall smell above the
earth With carrion men, groaning for burial.
<div style="background: blue;"> <div id="style-display" style=" background: red; margin-top: 25px; margin-bottom: 25px; margin-left: 25px; margin-right: 25px; border-style: solid; border-color: black; border-top-width: 3px; border-bottom-width: 3px; border-left-width: 3px; border-right-width: 3px; padding-top: 15px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; "> And Caesar's spirit, ranging for revenge, With Ate by his side come hot from hell, Shall in these confines with a monarch's voice Cry 'Havoc,' and let slip the dogs of war; That this foul deed shall smell above the earth With carrion men, groaning for burial. </div> </div> |
||