rt °³Ã¼¿¡ ÀÇÇÏ¿© ÁöÁ¤µÈ ·çºñ ÅؽºÆ®ÀÇ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
cssSelector : (½ºÅ¸ÀÏ ¼±ÅÃÀÚ)
¼Ó¼ºÀ» °¡Áú¼ö ÀÖ´Â ¿¤·¹¸àÆ®()³ª Ŭ¶ó½º(class) À̸§ ȤÀº ÀνÄÀÚ(id)ÀÌ´Ù.

: (¼Ó¼º ¹®ÀÚ¿­)
½ºÅ¸ÀÏ ¼Ó¼ºÀº rt °³Ã¼¿¡ ÀÇÇÏ¿© ÁöÁ¤µÈ ·çºñ ÅؽºÆ®ÀÇ À§Ä¡¸¦ ³ªÅ¸³»´Â ¹®ÀÚ¿­ÀÌ´Ù.

auto µðÆúÆ®À̸ç, ·çºñ ÅؽºÆ®°¡ º£À̽º ÅؽºÆ®¿¡ ÀÎÁ¢ÇÑ ´Ù¸¥ ÅؽºÆ®ÀÇ À§¿¡ °É¸°´Ù.
whitespace ·çºñ ÅؽºÆ®´Â °ø¹é ±ÛÀÚµé À§¿¡ °É¸°´Ù.
none ·çºñ ÅؽºÆ®´Â ·çºñ º£ÀÌÆ®¿¡ ÀÎÁ¢ÇÑ ÅؽºÆ®¿¡¸¸ À§¿¡ °É¸°´Ù.

ÀÌ ¼Ó¼ºÀº currentStyle¿¡¼­´Â ÀбâÀü¿ëÀÌ°í, ±×¿ÜÀÇ °³Ã¼¿¡¼­´Â Àбâ/¾²±âÀ̸ç, µðÆúÆ®°ªÀº autoÀÌ´Ù.

CSS(Cascading Style Sheets) ¾ÖÆ®¸®ºäÆ®´Â »ó¼ÓµÇÁö ¾Ê´Â´Ù.

Ư±â

rubyOverhang ¼Ó¼ºÀº ruby °³Ã¼¿¡¼­ ¼³Á¤ÇÏ°í rt °³Ã¼¿¡¼­ Á¤ÀÇÇÑ ·çºñ ÅؽºÆ®ÀÇ À§Ä¡¸¦ ÁöÁ¤ÇÑ´Ù.

Àû¿ë
°³Ã¼scriptCSS IE ¹öÀü
ÂüÁ¶
rubyAlign rubyOverhang rubyPosition

ÀÌ ¼Ó¼ºÀº (¿µ¹®)CSS3(Cascading Style Sheets Level 3)¿¡¼­ Á¤ÀǵǾú´Ù.


Ruby base. Ruby text.

rubyObj.rubyOverhang=
<RUBY id=rubyObj style="ruby-overhang:none;color:blue">
Ruby base.
<RT style="color:red">Ruby text.</RT></RUBY>
<P>
<BUTTON onclick="rubyObj.style.rubyOverhang='auto';showA.innerText=rubyObj.style.rubyOverhang">auto</BUTTON>
<BUTTON onclick="rubyObj.style.rubyOverhang='whitespace';showA.innerText=rubyObj.style.rubyOverhang">whitespace</BUTTON>
<BUTTON onclick="rubyObj.style.rubyOverhang='none';showA.innerText=rubyObj.style.rubyOverhang">none</BUTTON>
</P>
<DIV>rubyObj.rubyOverhang=<SPAN id=showA style="color:blue"></SPAN></DIV>