blob: 779dd4ba46511685570f54c19fd784f0a7da9b9a [file] [log] [blame] [edit]
<HTML>
<HEAD>
<TITLE>Examples of margins, padding, and borders</TITLE>
<style type='text/css'>
p.classA {
color: white;
background: blue;
margin: 6pt 6pt 6pt 6pt;
padding: 24px 24px 24px 24px;
}
p.classB {
color: white;
background: blue;
margin: 6pt 6pt 6pt 6pt;
padding: 24px 24px 24px 24px;
border-style: dashed;
border-width: medium;
border-color: lime;
}
</style>
</HEAD>
<BODY>
<p>before</p>
<p class='classA'>first paragraph</p>
<p class='classB'>second paragraph.</p>
<p>after</p>
</BODY>
</HTML>