Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
p.ex1 {
  margin-right: 15em;
}
</style>
</head>
<body>
<h1>The margin-right Property</h1>
<p>A paragraph with no margins specified. A paragraph with no margins specified.</p>
<p class="ex1">A paragraph with a 15 em right margin. The em unit is relative to the font-size of the element (2em means 2 times the size of the current font).</p>
<p>A paragraph with no margins specified. A paragraph with no margins specified.</p>
</body>
</html>