°³Ã¼ÀÇ textDecoration ¼Ó¼ºÀ¸·Î ¼³Á¤µÈ ¹ØÁÙ Àå½ÄÀÇ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. .

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

: (¼Ó¼º ¹®ÀÚ¿­)
½ºÅ¸ÀÏ ¼Ó¼ºÀº °³Ã¼ÀÇ textDecoration ¼Ó¼ºÀ¸·Î ¼³Á¤µÈ ¹ØÁÙ Àå½ÄÀÇ À§Ä¡¸¦ ³ªÅ¸³»´Â ¹®ÀÚ¿­ÀÌ´Ù.

above Àå½ÄÀÌ ÅؽºÆ®º¸´Ù ¸ÕÀú³ª¿Â´Ù.
below Àå½ÄÀÌ ÅؽºÆ®º¸´Ù ³ªÁß¿¡³ª¿Â´Ù.
auto µðÆúÆ®À̸ç, IE6 ÀÌÈÄ¿¡¼­ µðÆúÆ®°ªÀÌ´Ù. lang ¾ÖÆ®¸®ºäÆ®°¡ ko, zh ȤÀº jaµî ±Øµ¿ ¾ð¾î(¾ð¾îÄÚµå ¸ñ·Ï¿¡¼­ °¢°¢ ÇѱÛ, Áß±¹¾î, ÀϺ»¾î, µî)ÀÌ°í, writing-mode ¾ÖÆ®¸®ºäÆ®°¡ ¼öÁ÷ ¹æÇâ tb-rl(top bottom - right left)·Î ¼³Á¤µÇ¸é Àå½ÄÀÌ ¿µ¾î¿¡¼­Ã³·³ ³ªÁß¿¡ ³ª¿ÀÁö ¾Ê°í ÀÚµ¿ÀûÀ¸·Î Àå½ÄÀÌ ÅؽºÆ®º¸´Ù ¸ÕÀú ³ª¿Â´Ù.
auto-pos IE6 ÀÌÈÄ auto¿Í µ¿ÀÏÇÏ´Ù.

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

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

Ư±â

auto¿Í auto-pos °ªµéÀº IE6¿¡¼­ Àû¿ëµÈ´Ù. ÀÌ ¼Ó¼ºÀÇ µðÆúÆ®°ªÀº IE6¿¡¼­ autoÀÌ°í, IE5.5¿¡¼­¸¸ belowÀÌ´Ù.

ÀÌ ¼Ó¼ºÀº ¹ØÁÙ Àå½ÄÀÇ À§Ä¡¸¦ ÁöÁ¤ÇÑ´Ù.
Àå½ÄÀ» »ç¿ëÇϰųª Á¦°ÅÇϱâ À§Çؼ­´Â textDecoration ¼Ó¼ºÀ» »ç¿ëÇÑ´Ù.

ÀÌ ¹ØÁÙ Àå½ÄÀÇ À§Ä¡´Â °³Ã¼ÀÇ ÅؽºÆ® ¹èÄ¡¿¡ »ó´ëÀûÀÌ´Ù. ¼öÁ÷ ÅؽºÆ®¿¡¼­, above °ªÀº ¹ØÁÙ Àå½ÄÀº ÅؽºÆ® ÀÌÀü¿¡ ¹èÄ¡µÇ°í ÅؽºÆ®º¸´Ù ¸ÕÀú ³ªÅ¸³ª¸ç, below °ªÀ¸·Î, Àå½ÄÀÌ ÅؽºÆ®º¸´Ù ³ªÁß¿¡ ³ªÅ¸³­´Ù.

Àû¿ë
°³Ã¼scriptCSS IE ¹öÀü
ÂüÁ¶
(¿µ¹®)CSS3 text module(w3c.org)

ÀÌ ¼Ó¼ºÀº CSS(Cascading Style Sheets)¿¡ Microsoft°¡ È®ÀåÇÑ °ÍÀÌ´Ù.


¼öÆò Underline 1 ¼öÆò Underline 2 ¼öÆò Underline 3

¼öÁ÷ Underline 1
¼öÁ÷ Underline 2
¼öÁ÷ Underline 3

¼öÆò Overline 1

¼öÁ÷ Overline 1

À§ µÎ°³ÀÇ ¸ðü P ¿¤·¹¸àÆ®·ÎºÎÅÍ »ó¼Ó¹Þ´Â textUnderlinePosition ½ºÅ¸ÀÏÀÌ Àڽĵ鿡°Ô Àû¿ëµÈ´Ù.

<STYLE>
.container p, .container p span, .container span{border:solid 1 blue;background:ffe;padding:5;line-height:2em}
</STYLE>
<DIV class="container">
<P style="text-decoration:underline">
<SPAN style="text-underline-position:above">¼öÆò Underline 1</SPAN>
<SPAN>¼öÆò Underline 2</SPAN>
<SPAN style="text-underline-position:below">¼öÆò Underline 3</SPAN>
</P>
<P style="writing-mode:tb-rl;text-decoration:underline">
<SPAN style="text-underline-position:above">¼öÁ÷ Underline 1</SPAN><BR>
<SPAN>¼öÁ÷ Underline 2</SPAN><BR>
<SPAN style="text-underline-position:below">¼öÁ÷ Underline 3</SPAN><BR>
</P>
<P style="text-decoration:overline">¼öÆò Overline 1</P>
<P style="writing-mode:tb-rl;text-decoration:overline">¼öÁ÷ Overline 1</P>
</DIV>

ÀÌ ¹ØÁÙ Àå½ÄÀÇ À§Ä¡´Â °³Ã¼ÀÇ ÅؽºÆ® ¹èÄ¡¿¡ »ó´ëÀûÀÌ´Ù. ¼öÁ÷ ÅؽºÆ®¿¡¼­, above °ªÀº ¹ØÁÙ Àå½ÄÀº ÅؽºÆ® ÀÌÀü¿¡ ¹èÄ¡µÇ°í ÅؽºÆ®º¸´Ù ¸ÕÀú ³ªÅ¸³ª¸ç, below °ªÀ¸·Î, Àå½ÄÀÌ ÅؽºÆ®º¸´Ù ³ªÁß¿¡ ³ªÅ¸³­´Ù.

°³Ã¼ÀÇ textUnderlinePosition ¼Ó¼º°ªÀÌ autoÀÌ°í lang ¼Ó¼º°ªÀÌ koÀ̸ç, writing-mode ¼Ó¼º°ªÀÌ tb-rlÀÌ´Ù.

<DIV style="writing-mode:tb-rl; text-decoration:underline;text-underline-position:auto;line-height:1.5em;height:200;width:250">
<P lang="ko">ÀÌ ¹ØÁÙ Àå½ÄÀÇ À§Ä¡´Â °³Ã¼ÀÇ ÅؽºÆ® ¹èÄ¡¿¡ »ó´ëÀûÀÌ´Ù.
¼öÁ÷ ÅؽºÆ®¿¡¼­,
<SPAN style="text-underline-position:above;background:eff"><B>above</B> °ªÀº ¹ØÁÙ Àå½ÄÀº
ÅؽºÆ® ÀÌÀü¿¡ ¹èÄ¡µÇ°í ÅؽºÆ®º¸´Ù ¸ÕÀú ³ªÅ¸³ª¸ç,</SPAN>
<B>below</B> °ªÀ¸·Î, Àå½ÄÀÌ ÅؽºÆ®º¸´Ù ³ªÁß¿¡ ³ªÅ¸³­´Ù.</P>
</DIV>