Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
p.ex1 {
  border: 1px solid red; 
  padding-left: 10%;
}
</style>
</head>
<body>
<h1>The padding-left Property</h1>
<p class="ex1">A paragraph with a 10% left padding. The percentage is based on the width of the containing element.</p>
</body>
</html>