css 3

Icon

A comprehensive CSS 3 reference guide, tutorial, and blog
Are you a CSS expert? Want to contribute? Contact us

CSS PADDING-RIGHT

This property controls the size of the right padding of an element’s rendering box. Negative values are not allowed.

 

Example

blockquote { padding-right: 3em }

<blockquote style=”padding-right: 3em”>This is some text</blockquote>

 

Possible Values

Value Description
inherit Explicitly sets the value of this property to that of the parent.
[length] Refers to either an absolute measurement or a relative measurement based on the current element’s font size.
[percentage] Refers to a percentage of the width of the current element’s containing block.

 

Leave a Reply

Pages

Sponsors


CSS3.com



Please help CSS3.com stay alive and running

Bad Behavior has blocked 2277 access attempts in the last 7 days.