<html>
<head>
<style>
p.ex1 {
border: 1px solid red;
padding-right: 50%;
}
</style>
</head>
<body>
<h1>The padding-right Property</h1>
<p class="ex1">A paragraph with a 50% left padding. The percentage is based on the width of the containing element.</p>
</body>
</html>