B.94. ruby-align

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 sets how the ruby text is aligned with the base text.

Inherited: No

See also: Section B.95ruby-overhang, Section B.96ruby-position

B.94.1. Value

This property accepts any of the following constants:

  • auto

  • center

  • distribute-letter

  • distribute-space

  • left

  • line-edge

  • right

For the meanings of each of these constants, see the CSS3 Ruby module working draft and the Microsoft Internet Explorer documentation for this property.

Initial ...

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.