Javascript Reference
Categories: STYLE

javascript STYLE rubyPosition

@March 15, 2008, 1:22 a.m.
rubyPositionFirefox/Netscape/NN n/a IE 5 Chrome/Safari/DOM n/a  

Read/Write  

Controls whether ruby (rt element) text renders on the same line or above its related ruby base (rb element) text. Changes to this property affect IE for Windows only. Ruby-related styles are defined in CSS3.

 
Example
 
document.getElementById("myRuby").style.rubyPosition = "inline";
 
Value

Case-insensitive string of any of the following constants: above | inline.

 
Default

above


Powered by Linode.