CSS ¸Å´º¾ó ÅؽºÆ® Ư¼º |
¼Ò°³ | ÀÏ¹Ý | ÅؽºÆ® | ÆùÆ® | ¹Ú½º | »ö»ó | ¸ñ·Ï | »öÀÎ | ¿¹Á¦ |
±ÛÀÚ °£°Ý letter-spacing normal, ±æÀÌ CSS1 ±Ô°Ý ±ÛÀÚ °£°Ý ¼³¸í |
±ÛÀÚ °£°ÝÀ» ÁöÁ¤ÇÑ´Ù. À½¼öµµ °¡´ÉÇÏ´Ù.
p {letter-spacing: 0.5em;}
<STYLE type="css/text">
td.textcss1 {letter-spacing: 0.5em;}
</STYLE>
<TABLE border="1" width="60%">
<TR><TD class=textcss1>±ÛÀÚ °£°Ý 0.5em ÁöÁ¤</TD></TR>
<TR><TD>±ÛÀÚ °£°Ý Á¤»ó</TD></TR>
</TABLE>
<TABLE border="1" width="60%">
<TR><TD style="letter-spacing: 0.5em;">±ÛÀÚ °£°Ý 0.5em ÁöÁ¤</TD></TR>
<TR><TD>±ÛÀÚ °£°Ý Á¤»ó</TD></TR>
</TABLE>
| ||||
´Ü¾î °£°Ý word-spacing normal, ±æÀÌ CSS1 ±Ô°Ý ´Ü¾î °£°Ý ¼³¸í |
´Ü¾î °£°ÝÀ» ÁöÁ¤ÇÑ´Ù. À½¼öµµ °¡´ÉÇÏ´Ù.
P {word-spacing: .3em;}
<STYLE type="text/css">
td.textcss2 {word-spacing: 3em;}
</STYLE>
<table border=1 width=60%>
<tr><td class=textcss2>´Ü¾î °£°Ý 3em ÁöÁ¤</td></tr>
<TR><TD>´Ü¾î °£°Ý Á¤»ó</TD></TR>
</table>
Àß ¾ÈµÇ´Â ±º¿ä
<table border=1 width=60%>
<tr><td style="word-spacing: 3em;">´Ü¾î °£°Ý 3em ÁöÁ¤</td></tr>
<TR><TD>´Ü¾î °£°Ý Á¤»ó</TD></TR>
</table>
| ||||
±ÛÀÚ Àå½Ä text-decoration none, blink, underline, overline, line-through CSS1 ±Ô°Ý ±ÛÀÚ Àå½Ä ¼³¸í |
underline À̳ª blink µî ±ÛÀÚ Æ¯¼ºÀ» ÁöÁ¤ÇÑ´Ù.
U {text-decoration: underline;}
.sample {text-decoration: line-through;}
A { text-decoration: none } // link ½Ã ÀÚµ¿ ¹ØÁÙ °¨Ãã
<STYLE type="css/text">
.textcss3 {text-decoration: underline;}
</STYLE>
<TABLE border=1 width=60%><TR>
<TD class=textcss3>¹ØÁÙ ÁöÁ¤</TD>
<TD>Á¤»ó: ¹ØÁÙ ¾øÀ½</TD>
</TR></TABLE>
<TABLE border=1 width=60%><TR>
<TD style="text-decoration: underline;background:ff0">¹ØÁÙ ÁöÁ¤</TD>
<TD>Á¤»ó: ¹ØÁÙ ¾øÀ½</TD>
</TR></TABLE>
| ||||
±ÛÀÚ ¼öÁ÷ Á¤·Ä vertical-align baseline, sub, super, top, middle, bottom, text-top, text-bottom, ¹éºÐÀ² CSS1 ±Ô°Ý ¼öÁ÷ Á¤·Ä ¼³¸í |
±ÛÀÚÀÇ basline ¿¡ ´ëÇÑ ¼öÁ÷ À§Ä¡¸¦ ÁöÁ¤ ÇÑ´Ù. ¶óÀÎ ¿¤·¹¸àÆ®¿¡ ¸¸ »ç¿ë µÇ°í À½¼ö´Â Çã¿ë µÇÁö ¾Ê´Â´Ù baseline : ¹®ÀÚÀÇ ±âÃʼ±¿¡ ¸ÂÃß¾î Á¤·Ä. top : »ó´Ü¿¡ Á¤·Ä middle : ¹®ÀÚÀÇ Áß¾ÓÀ» ±âÃʼ±À¸·Î Çؼ Á¤·Ä. bottom : ÇÏ´Ü¿¡ Á¤·Ä sub : ¾Æ·¡Ã·ÀÚSubscript super : À÷ÀÚSuperscript text-top : ¹®ÀÚÀÇ À¼±À» ±âÃʼ±À¸·Î Çؼ Á¤·Ä. text-bottom : ¹®ÀÚÀÇ ¹Ø¼±À» ±âÃʼ±À¸·Î Çؼ Á¤·Ä. ¹éºÐÀ² : ¹®ÀÚ ³ôÀÌÀÇ ¹éºÐÀ²·Î ±âÃʼ± °áÁ¤. SUP {vertical-align: super;} .sample {vertical-align: 60%;} <STYLE=css/text> sup{ vertical-align:super; font-size:14; color:#0000ff; } </STYLE> º¸Åë±ÛÀÚ¿Í ±ÛÀÚ <sup>super</sup> ÁöÁ¤
º¸Åë±ÛÀÚ¿Í
±ÛÀÚ <sup style="vertical-align:super;font-size:14;
color:#0000ff;">super</sup> ÁöÁ¤
º¸Åë±ÛÀڿͱÛÀÚ super ÁöÁ¤ | ||||
´ë¼Ò¹®ÀÚ º¯È¯ text-transform none, capitalize, uppercase, lowercase CSS1 ±Ô°Ý ¹®ÀÚ º¯È¯ ¼³¸í |
±ÛÀÚ¸¦ ´ë¹®ÀÚ, ¼Ò¹®ÀÚ·Î º¯È¯ÇÑ´Ù.
capitalize : °¢ ´Ü¾îÀÇ Ã¹±ÛÀÚ¸¦ ´ë¹®ÀÚ·Î ¹Ù²Û´Ù.
uppercase : ¸ðµç ±ÛÀÚ¸¦ ´ë¹®ÀÚ·Î ¹Ù²Û´Ù.
lowercase : ¸ðµç ±ÛÀÚ¸¦ ¼Ò¹®ÀÚ·Î ¹Ù²Û´Ù.
H1 {text-transform: uppercase;}
.title {text-transform: capitalize;}
<STYLE type="css/text">
.aa1 {text-transform: uppercase;}
</STYLE>
<table border=1 width=60%><tr>
<td class=aa1>´ë¹®ÀÚ ÁöÁ¤ abcde</td>
<td style>¹Ì ÁöÁ¤ abcde</td>
</tr></table>
<table border=1 width=60%><tr>
<td style="text-transform: uppercase;">´ë¹®ÀÚ ÁöÁ¤ abcde</td>
<td style>¹Ì ÁöÁ¤ abcde</td>
</tr></table>
| ||||
±ÛÀÚ ¼öÆò À§Ä¡ Á¤·Ä text-align left, center, right, justify CSS1 ±Ô°Ý ¼öÆò Á¤·Ä ¼³¸í |
±ÛÀÚÀÇ ¼öÆò À§Ä¡¸¦ ÁöÁ¤ ÇÑ´Ù. ´Ù¸¥ ºí·° ¿¤·¹¸àÆ®¿¡µµ Àû¿ë µÈ´Ù.
P {text-align: justify;}
H4 {text-align: center;}
<STYLE type="css/text">
.aa2 {text-align: center;}
</STYLE>
<table border=1 width=60%>
<tr><td class=aa2>¼öÆò À§Ä¡ center ÁöÁ¤</td></tr>
<tr><td>¼öÆò À§Ä¡ Á¤»ó(default)</td></tr>
</tr></table>
<table border=1 width=60%>
<tr><td style="text-align: center;">¼öÆò À§Ä¡ center ÁöÁ¤</td></tr>
<tr><td>¼öÆò À§Ä¡ Á¤»ó(default)</td></tr>
</tr></table>
| ||||
ùÀÚ µé¿©¾²±â text-indent ±æÀÌ, ¹éºÐÀ² CSS1 ±Ô°Ý µé¿©¾²±â ¼³¸í |
¹®´ÜÀÇ Ã¹ÁÙÀÇ µé¿©¾²±â Á¤µµ¸¦ ÁöÁ¤ÇÑ´Ù. ºí·° ¿¤·¹¸àÆ®¿¡ ¸¸ Àû¿ë µÈ´Ù. P {text-indent: 5%;} H2 {text-indent: -25px;} <STYLE type="css/text"> .inpos {text-indent: 5%;} </STYLE> <p class=inpos>text-indent 5% ÁöÁ¤</p> <p>µé¿©¾²±â ¾ÈÇÔ</p>
<p style="text-indent: 20%;">text-indent 5% ÁöÁ¤</p>
<p>µé¿©¾²±â ¾ÈÇÔ</p>
text-indent 20% ÁöÁ¤ µé¿©¾²±â ¾ÈÇÔ | ||||
±ÛÀÚ ³ôÀÌ line-height normal, ¼öÄ¡, ±æÀÌ, ¹éºÐÀ² CSS1 ±Ô°Ý ±ÛÀÚ ³ôÀÌ ¼³¸í |
±ÛÀÚÀÇ ±âÃʼ±(baseline)À¸·ÎºÎÅÍ ³ôÀ̸¦ ÁöÁ¤ ÇÑ´Ù. À½¼ö´Â Çã¿ë µÇÁö ¾Ê´Â´Ù.
P {line-height: 18pt;}
H2 {line-height: 200%;}
<STYLE type="css/text">
.aa4 {line-height: 200%;}
</STYLE>
<table border=1 width=60%>
<tr><tr><td class=aa4>±ÛÀÚ ³ôÀÌ 200% ÁöÁ¤</td></tr>
<tr><td>±ÛÀÚ ³ôÀÌ Á¤»ó</td></tr>
</table>
<table border=1 width=60%>
<tr><tr><td style="line-height: 500%;">±ÛÀÚ ³ôÀÌ 500% ÁöÁ¤</td></tr>
<tr><td>±ÛÀÚ ³ôÀÌ Á¤»ó</td></tr>
</table>
|
|