Open main menu

CDOT Wiki β

Changes

CSS GUIDE PADDING LEFT

1,530 bytes added, 14:19, 24 November 2006
no edit summary
<span style="margin:0;background:#ffff33;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;">This document is a work in progress and is subject to change.</span><br /><br />
== Summary ==

This property controls the size of the left padding of an element's rendering box. Negative values are not allowed.

* Initial value: 0
* Applies to: all elements
* Inherited: no
* Percentages: n/a
* Media: visual
* Computed value: 0

== Syntax ==

<pre>
Ext/Doc: element { padding-left: value }
In-Line: <blockquote STYLE="padding-left: value">This is a test document</blockquote>
</pre>

== Legal Values ==

'''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.

== Mozilla Recommended Values ==

== Usage Examples ==

<pre>
Ext/Doc: blockquote { padding-left: 3em }
In-Line: <blockquote STYLE="padding-left: 3em">This is a test document</blockquote>
</pre>

== Notes ==

== Specification Conformance ==

== Browser Compatibility ==

* [http://www.w3.org/TR/REC-CSS2/box.html#padding-properties CSS 2]
* [http://www.w3.org/TR/CSS21/box.html#padding-properties CSS 2.1]
* [http://www.w3.org/TR/css3-box/#padding1 CSS 3]

== See Also ==

* [http://www.blooberry.com/indexdot/css/properties/padding/paddingleft.htm Blooberry Padding-Left]
1
edit