Skip to Content


CSS Reference / padding-right

padding-right

Sets the right padding of an element. Negative values are not allowed.

Values:

  • length
  • %

Examples:

  1. padding-right: 2em;
  2. padding-right: 20px;

Browser support:

  • Internet Explorer 4+
  • Netscape 4+
  • Opera 3.5+

Related properties:

back to list



Search

Sponsors

Logo design for $149

Advertise here