Skip to Content


CSS Reference / padding-left

padding-left

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

Values:

  • length
  • %

Examples:

  1. padding-left: 2em;
  2. padding-left: 90%;

Browser support:

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

Related properties:

back to list



Search

Sponsors

Logo design for $149

Advertise here