You are here : cssCSS 3padding-top

padding-top - CSS 3

The padding-top property sets the top padding (space) of an element.Note:   Negative values are not allowed.


Syntax

padding-top: length|initial|inherit;


Example

p 
	{
	   
	padding-top: 2cm;
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference