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

layout-grid-type Attribute | layoutGridType Property

Internet Development Index

Sets or retrieves the type of grid used for rendering the text content of an element.

Syntax

HTML { layout-grid-type : sType }
Scriptingobject.style.layoutGridType [ = sType ]

Possible Values

sTypeString that specifies or receives one of the following values.
looseDefault. Grid used for Japanese and Korean characters. In this mode, a constant width increment is applied to characters as follows: Wide characters and narrow kana characters are incremented to obtain an exact grid fit, as specified by the layoutGridChar property. Other narrow characters, except connected and cursive characters, are incremented by half of the increment amount applied to wide characters. Other characters, including connected and cursive characters, are not incremented, and behave as if no character grid is set.
strictGrid used for Chinese, as well as Japanese (Genko) and Korean characters. Only the ideographs, kanas, and wide characters are snapped to the grid. Other characters are rendered as usual, as though the layout-grid-mode attribute is set to none or line for text spans containing these characters. This mode also disables special text justification and character width adjustments normally applied to the element. Finally, if there is no line-break opportunity in a text span that exceeds the line boundary, the text is pushed to the next line and the last part of the previous line is left blank.
fixedGrid used for monospaced layout. The layout rules are as follows: All noncursive characters are treated as equal; every character is centered within a single grid space by default. Runs of cursive characters are treated as strips the same as in a strict grid. Justification or any other character-width changing behaviors are disabled.

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 loose. The Cascading Style Sheets (CSS) attribute is 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

Web documents in Asian languages, such as Chinese or Japanese, usually create a page layout for characters using a one- or two-dimensional grid. You can use the layout-grid attribute to incorporate this layout into Web documents.

The layout-grid-type attribute applies only to block-level elements.

Example

This example uses the layout-grid-type attribute to specify character layout for a block of text.

<STYLE>
DIV.layout { layout-grid-type: strict }
</STYLE>
<DIV CLASS = "layout">
This is a block element containing a sentence of sample text.
</DIV>

Standards Information

This property is part of a proposed addition to Cascading Style Sheets (CSS) Non-Microsoft link.

Applies To

BLOCKQUOTE, BODY, CENTER, currentStyle, DD, DIR, DIV, DL, DT, FIELDSET, FORM, hn, HR, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, runtimeStyle, style, TABLE, TD, TH, TR, UL, XMP
阜平县| 辽宁省| 宁德市| 全南县| 唐河县| 县级市| 钦州市| 崇州市| 博兴县| 古丈县| 即墨市| 尉犁县| 衡水市| 岗巴县| 旺苍县| 陕西省| 泗水县| 衡东县| 太仆寺旗| 丹阳市| 达孜县| 六枝特区| 滕州市| 望奎县| 怀宁县| 富民县| 德化县| 阿坝| 宜川县| 揭西县| 富蕴县| 崇文区| 新巴尔虎右旗| 崇文区| 巴青县| 淄博市| 南皮县| 城步| 南华县| 大邑县| 探索|