Specifies the space between an element's left border and its contents.
With the padding-left property you can specify the distance between the left border-left and the element's content.
One of the following values:
|Takes the value of this property from the computed style of the parent element.|
|The space in length units. For the supported length units, see the length page.|
|The space is the specified percentage of the width of the parent element.|
Example HTML code 1:
Did you find this example helpful?
Supported by tags:
User Contributed Comments