rt °³Ã¼¿¡ ÀÇÇÏ¿© ÁöÁ¤µÈ ·çºñ ÅؽºÆ®ÀÇ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
auto | µðÆúÆ®À̸ç, ·çºñ ÅؽºÆ®°¡ º£À̽º ÅؽºÆ®¿¡ ÀÎÁ¢ÇÑ ´Ù¸¥ ÅؽºÆ®ÀÇ À§¿¡ °É¸°´Ù. |
whitespace | ·çºñ ÅؽºÆ®´Â °ø¹é ±ÛÀÚµé À§¿¡ °É¸°´Ù. |
none | ·çºñ ÅؽºÆ®´Â ·çºñ º£ÀÌÆ®¿¡ ÀÎÁ¢ÇÑ ÅؽºÆ®¿¡¸¸ À§¿¡ °É¸°´Ù. |
ÀÌ ¼Ó¼ºÀº currentStyle¿¡¼´Â ÀбâÀü¿ëÀÌ°í, ±×¿ÜÀÇ °³Ã¼¿¡¼´Â Àбâ/¾²±âÀ̸ç, µðÆúÆ®°ªÀº autoÀÌ´Ù.
CSS(Cascading Style Sheets) ¾ÖÆ®¸®ºäÆ®´Â »ó¼ÓµÇÁö ¾Ê´Â´Ù.
rubyOverhang ¼Ó¼ºÀº ruby °³Ã¼¿¡¼ ¼³Á¤ÇÏ°í rt °³Ã¼¿¡¼ Á¤ÀÇÇÑ ·çºñ ÅؽºÆ®ÀÇ À§Ä¡¸¦ ÁöÁ¤ÇÑ´Ù.
°³Ã¼ | script | CSS | IE ¹öÀü |
---|
ÀÌ ¼Ó¼ºÀº (¿µ¹®)CSS3(Cascading Style Sheets Level 3)¿¡¼ Á¤ÀǵǾú´Ù.
<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>