B.96. ruby-position

Ruby text is a new addition in the XHTML 1.1 recommendation and is described by the Ruby Annotation Recommendation of the W3C. Commonly used in Japan and China, ruby text generally appears in a smaller font over the main text as a pronunciation guide, or to provide some other explanatory annotation.

This property controls where the ruby text is positioned in relation to its base text.

Inherited: No

See also: Section B.94ruby-align, Section B.95ruby-overhang

B.96.1. Value

In Internet Explorer for Windows version 5 or later, this property accepts the following constants:

  • above

  • inline

The current working draft of CSS3, however, proposes the following values:

  • after

  • before

  • right

For the meanings of each of these sets of constants, ...

Get HTML Utopia: Designing Without Tables Using CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.