O'Reilly logo

CSS Pocket Reference, 4th Edition by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

ruby-align

Values:

auto | start | left | center | end | right | distribute-letter | distribute-space | line-edge

Initial value:

auto

Applies to:

All elements and generated content

Inherited:

Yes

Computed value:

Same as declared value

Description:

Defines the relative alignment of ruby text as compared to ruby base contents.

Examples:

ruby {ruby-align: start;}
rubytext {ruby-align: distribute-space;}

Note:

A “ruby” is a short run of text that goes alongside base text, which is common in written East Asian languages. As of early 2011, this property was supported only by Internet Explorer.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required