lineHeightlineHeight*
*



Contents  *



Index  *Topic Contents
*Previous Topic: letterSpacing
*Next Topic: link

lineHeight

Description

Sets or retrieves the distance between lines in a paragraph.

Syntax

object.style.lineHeight[ = lineHeight]

Remarks

Line height is the distance between the descender of the font to the top of the internal leading of the font. A negative line height is allowed to achieve various shadowing effects.

If there is more than one element on a formatted line, the maximum line height applies. Negative values are not allowed.

The property has read/write permission.

Applies To

HTML Tags A, ADDRESS, B, BIG, BLOCKQUOTE, BODY, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HTML, I, INPUT, INPUT type=button, INPUT type=file, INPUT type=reset, INPUT type=submit, INPUT type=text, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, S, SAMP, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP
Scripting style

CSS Attribute

line-height


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.