CSS PADDING-TOP - CSS3 Examples

CSS PADDING-TOP

Written by jon on 11:40 PM
This property controls the size of the top padding of an element’s rendering box. Negative values are not allowed.

Example
blockquote { padding-top: 3em }

<blockquote style=”padding-top: 3em”>This is some text</blockquote>

Possible Values
Value Description
inherit Explicitly sets the value of this property to that of the parent.
[length] Refers to either an absolute measurement or a relative measurement based on the current element's font size.
[percentage] Refers to a percentage of the width of the current element's containing block.

Related Posts by Categories



Widget by John | Interviewghost
  1. 0 comments: Responses to “ CSS PADDING-TOP ”

RECENT COMMENTS

SUBSCRIBE TO CSS3 EXAMPLES

 Subscribe to css3 Examples via RSS
Or, subscribe via email:
Find CSS3 Examples Entries :