MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

Compare Revisions

line-height

Change Revisions

Revision 356625:

Revision 356625 by ethertank on

Revision 356757:

Revision 356757 by teoli on

Title:
line-height
line-height
Slug:
CSS/line-height
CSS/line-height
Tags:
"css", "CSS Reference"
"css", "CSS Reference"
Content:

Revision 356625
Revision 356757
n20      On replaced inline elements, like buttons or other input eln20      On replaced inline elements, like buttons or other input el
>ement, <code>line-height</code> has no effect. [1]<br>>ement, <code>line-height</code> has no effect. [1]
n24        <dfn>{{Xref_cssinitial}}</dfn> {{Cssxref("normal")}}n24        <dfn>{{Xref_cssinitial}}</dfn> {{Cssinitial("line-height"
 >)}}
t45    <pre class="syntaxbox">t45    <pre class="twopartsyntaxbox">
46line-height:  normal | {{Xref_cssnumber}} | {{Xref_csslength}} | 46<a href="/en-US/docs/CSS/Value_definition_syntax" title="CSS/Valu
>{{Xref_csspercentage}}>e_definition_syntax">Formal syntax</a>: {{csssyntax("line-height"
 >)}}
47</pre>
48    <pre>
49line-height: normal 
50line-height: 3.5    /* &lt;number&gt; values */
51line-height: 3em    /* &lt;length&gt; values */
52line-height: 34%    /* &lt;percentage values */
53 
54line-height: inherit

Back to History