HTML CSS Reference/CSS Attributes and Javascript Style Properties/ruby overhang

Материал из Web эксперт
Перейти к: навигация, поиск

"ruby-overhang" Example

   <source lang="html4strict">
   

<html> <body>

   
       
       base text
       
       
       this text is in the same line as the base text
       
       
       
       ruby text
       
   </ruby>
   
       
       base text
       
       
       this text is in the same line as the base text
       
       <rt>
       
       ruby text
       
   
   
       
       base text
       
       
       this text is in the same line as the base text
       
       <rt>
       
       ruby text
       
   

</div> </body> </html>


     </source>
   
  


"ruby-overhang" is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |currentStyle | | |runtimeStyle style | +----------------+--------------------------------------------------------------+

     </source>
   
  


"ruby-overhang" Possible Values

   <source lang="html4strict">

Possible Values auto The default; ruby text is positioned over text whitespace positioned over white-space characters none positioned over text adjacent to its base text


     </source>
   
  


"ruby-overhang" Syntax and Note

   <source lang="html4strict">

Note: Whether the ruby text overhangs the base text only or adjacent text. Syntax:

element { ruby-overhang: value } elementID.style.rubyOverhang = "value" document.all.elementID.style.rubyOverhang = "value"


     </source>