HTML CSS Reference/CSS Attributes and Javascript Style Properties/ruby align
Содержание
"ruby-align" Example
<source lang="html4strict">
<html> <body>
Click to change the ruby alignment to right.
base text
</ruby> </div> </body> </HTML>
</source>
"ruby-align" is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Applied_To |currentStyle | | |runtimeStyle style | +----------------+--------------------------------------------------------------+
</source>
"ruby-align" Possible Values
<source lang="html4strict">
Possible Values auto (the default), left, center, right, distribute-letter (justifies), distribute-space (justifies, adding one blank space at the begin and end), line-edge (if ruby text is next to a line edge, the ruby text side is aligned
with the base text side; otherwise, it is centered). </source>
"ruby-align" Syntax and Note
<source lang="html4strict">
Note: Sets the ruby text horizontal alignment. Syntax:
element { ruby-align: value } elementID.style.rubyAlign = "value" document.all.elementID.style.rubyAlign = "value"
</source>