คุณสมบัติ padding-right ใช้กำหนดระยะห่างภายในด้านขวาของ Element สามารถรับค่าเป็นความยาว (px, em, rem) หรือเปอร์เซ็นต์ (%)
ตัวอย่าง
<html>
<head></head>
<body>
<p style="padding-right: 20px; border:2px solid blue;">
This is demo content.
</p>
<p style="padding-right: 20%; border:2px solid blue;">
This is another demo content.
</p>
</body>
</html>