HBCMS更多的中文手册参考:

ruby-overhang Attribute | rubyOverhang参数属性

DHTML文档教程

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

dhtml语法

HTML { ruby-overhang : sRubyOverhang }
Scriptingobject.style.rubyOverhang [ = sRubyOverhang ]

DHTML可能的值

sRubyOverhangString that specifies or receives one of the following values:
autoDefault. Ruby text overhangs any other text adjacent to the base text.
whitespaceRuby text overhangs only white-space characters.
noneRuby text overhangs only text adjacent to its base.

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 rubyoverhang property specifies the overhang of the ruby text defined by the rt object, and is set on the ruby object.

DHTML代码范例

This example uses the ruby-overhang attribute and the rubyOverhang property to set the overhang of the ruby text. It uses an inline style sheet to set the ruby-overhang attribute to none.

<RUBY ID=oRuby STYLE = "ruby-overhang: none">
Ruby base.
<RT>Ruby text.
</RUBY>
<INPUT
TYPE=button VALUE="Whitespace"
onclick="oRuby.style.rubyOverhang='whitespace';"
>
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.

是否符合公共标准

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

Applies To

currentStyle, RUBY, runtimeStyle, style

更多语法参考

rubyalign, rubyPosition