CSS padding-left Property

Last Updated Jul 21, 2015, 12:00:06 PM

CSS padding-left Property

The css padding-left property is used to set the padding space required on the left side of an element

The below example sets the padding on left side for two paragraphs

Example Try It Now

Browser compatibility
Basic support 1.0 1.0 (1.7 or earlier) 1.0 7.0 4.0 ? ?

Other CSS Padding Properties you might want to learn

CSS Padding Property

CSS Padding Bottom Property

CSS Padding Left Property

CSS Padding Right Property

Sources and Credits

The source of the content has been referred and updated with Mozilla Foundation and W3C Organization

Last Updated Jul 21, 2015, 12:00:06 PM