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

ruby-align Attribute | rubyAlign Property

Internet Development Index

Sets or retrieves the position of the ruby text specified by the rt object.

Syntax

HTML { ruby-align : sRubyAlign }
Scriptingobject.style.rubyAlign [ = sRubyAlign ]

Possible Values

sRubyAlignString that specifies or receives one of the following values:
autoDefault. Browser determines how the ruby text is aligned. The recommended behavior for an ideographic (Asian character) ruby is to be aligned in the distribute-space mode. The recommended behavior for a Latin character ruby is to be aligned in the center mode.
leftRuby text is left-aligned with the base.
centerRuby text is centered within the width of the base. If the length of the base is smaller than the length of the ruby text, the base is centered within the width of the ruby text.
rightRuby text is right-aligned with the base.
distribute-letterRuby text is evenly distributed across the width of the base if the width of the ruby text is smaller than the width of the base. If the width of the ruby text is at least the width of the base, the ruby text is center-aligned.
distribute-spaceRuby text is evenly distributed across the width of the base if the width of the ruby text is smaller than the width of the base. White space precedes the first and follows the last character in the ruby text, equal to half the kerning of the ruby text. If the width of the ruby text is at least the width of the base, the ruby text is centered.
line-edgeRuby text is centered if it is not adjacent to a line edge. If it is adjacent to a line edge, the side of the ruby text lines up with the side of the base text.

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

The rubyAlign property specifies the alignment of the ruby text defined by the rt object, and is set on the ruby object.

Example

This example uses the ruby-align attribute and the rubyAlign property to set the alignment of the ruby text. It uses an inline style sheet to set the ruby-align attribute to right.

<RUBY ID=oRuby STYLE = "ruby-align: right">
Ruby base.
<RT>Ruby text.
</RUBY>
<INPUT
TYPE=button VALUE="Center"
onclick="oRuby.style.rubyAlign='center';"
>
This feature requires Microsoft® Internet Explorer 5 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 3 (CSS3) Non-Microsoft link.

Applies To

currentStyle, RUBY, runtimeStyle, style

See Also

rubyPosition, rubyOverhang
荃湾区| 龙泉市| 治多县| 建水县| 凉城县| 汤阴县| 张北县| 景谷| 达拉特旗| 老河口市| 清原| 甘谷县| 会宁县| 乃东县| 莱芜市| 兖州市| 苍溪县| 怀仁县| 马山县| 汤原县| 百色市| 曲水县| 阜宁县| 侯马市| 黄平县| 福鼎市| 江孜县| 万山特区| 崇礼县| 南阳市| 阳东县| 黄龙县| 宿松县| 沙坪坝区| 武隆县| 恩施市| 甘肃省| 奇台县| 阿城市| 铅山县| 鄂托克旗|