ruby-position property
Specifies the position of the Ruby text (rt).
JavaScript page for this property: rubyPosition. You can find other example(s) there. |
Possible values:
One of the following values:
Default. The Ruby text (rt) is located above the base content. | |||||||
The Ruby text (rt) is located inline with the base content. |
Default: above.
Example HTML code 1:
This example illustrates the use of the ruby-position property:
|
||||
<head> <style> ruby.example { background-color: #EAE9E6; } rt.example { font-size: 12px; color: red; } </style> </head> <body> <ruby class="example" style="ruby-position: inline;"> Inline. <rt class="example">Ruby text.</rt> </ruby> <br /><br /> <ruby class="example" style="ruby-position: above;"> Above. <rt class="example">Ruby text.</rt> </ruby> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
Related pages:
ruby-align
ruby-overhang
ime-mode
layout-flow
layout-grid
layout-grid-char
layout-grid-line
layout-grid-mode
layout-grid-type
text-justify
text-kashida-space
unicode-bidi
ruby-overhang
ime-mode
layout-flow
layout-grid
layout-grid-char
layout-grid-line
layout-grid-mode
layout-grid-type
text-justify
text-kashida-space
unicode-bidi
External links:
User Contributed Comments