最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

line-height Attribute | lineHeight Property

Internet Development Index

Sets or retrieves the distance between lines in the object.

Syntax

HTML { line-height : sHeight }
Scriptingobject.style.lineHeight [ = sHeight ]

Possible Values

sHeightVariant that specifies or receives one of the following values.
normalDefault. Default height.
heightFloating-point number, followed by an absolute units designator (cm, mm, in, pt, pc, or px) or a relative units designator (em or ex). For more information about the supported length units, see CSS Length Units Reference.
percentageInteger, followed by a percent sign (%). The value is a percentage of the height of the parent object.

The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has a default value of normal. The Cascading Style Sheets (CSS) attribute is not inherited.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

Line height is the distance between the descender of the font and the top of the internal leading of the font.

If a formatted line contains more than one object, the maximum line height applies. In this case, negative values are not allowed.

Microsoft® Internet Explorer 3.0 supports the line-height attribute through the font attribute.

Examples

The following examples use the line-height attribute and the lineHeight property to control the height of paragraph lines.

This example uses p and blockQuote as selectors in an embedded (global) style sheet to change the distance between the lines in all p and blockQuote objects.

<STYLE>
P { line-height:8mm}
BLOCKQUOTE { line-height:4mm }
</STYLE>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

This example uses inline scripting to set the distance between lines when an onmouseover event occurs.

<DIV STYLE="font-size:14" onmouseover="this.style.lineHeight='6mm'">
:
</DIV>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This property is defined in Cascading Style Sheets (CSS), Level 1 (CSS1) Non-Microsoft link.

Applies To

A, ADDRESS, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, currentStyle, CUSTOM, DD, defaults, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FORM, hn, HTML, I, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, ISINDEX, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, runtimeStyle, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, style, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP
襄汾县| 台北市| 肥城市| 平谷区| 昌平区| 沧州市| 临朐县| 秭归县| 布尔津县| 泸水县| 平塘县| 白玉县| 微山县| 岱山县| 扶沟县| 青铜峡市| 临泉县| 屏南县| 惠安县| 青海省| 隆安县| 台江县| 宕昌县| 庄河市| 夏邑县| 辽源市| 隆安县| 衡山县| 永清县| 青川县| 水城县| 嘉兴市| 连州市| 肃宁县| 承德市| 马关县| 南宁市| 桃源县| 尼玛县| 错那县| 望城县|