CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS padding-right property




The CSS padding-right property set padding space between right border or content of an element.


Property Values


Properties Value Description
Syntax padding-right:value;
value   width
  inherit    Lern More...
Allow to All elements
Inherited No

Example-Code:

<p style="padding-right:30px;text-align:right;border:2px solid orange;">
This example is Padding set space</p>
Online Try This Code Your Self....   »

Example-Result:

This example is Padding set space