text-indent Property


Home > Document > CSS > Text > text-indent

text-indent Property

text-indent Property ´Â ù ÁÙ µé¿©¾²±â¸¦ ´Ù·ç´Â Property ÀÔ´Ï´Ù. ±æÀÌ ´ÜÀ§(Length units)¿Í ¹éºÐÀ²(Percentage) ¸ðµÎ »ç¿ë °¡´ÉÇÕ´Ï´Ù. ±æÀÌ ´ÜÀ§´Â À½¼ö ±æÀÌ(Negative length)µµ °¡´ÉÇÕ´Ï´Ù. ¾ç¼ö¸¦ »ç¿ëÇÏ¸é ¿À¸¥ÂÊ µé¿©¾²±â, À½¼ö¸¦ »ç¿ëÇÏ¸é ¿ÞÂÊ ³»¾î¾²±â°¡ µË´Ï´Ù.

  [Ç¥ º¸´Â ¹æ¹ý]
text-indent Property
Value <length> | <percentage> | Inherit
Initial 0
Applies to block-level elements
Inherited yes
Percentages refer to width of containing block
Media Visual
HTML Syntax { text-indent: sIndent }
Scripting object.style.textIndent [ = sIndent ]




CSS Scripting
onMouseOver="this.style.textIndent='25px';"

ÀÔ·Â
<HTML>
    <HEAD>
        <TITLE>text-indent Property</TITLE>
    <STYLE type="text/css">
    <!-- 
    .posi { text-indent : 50px;}
    .nega { text-indent : -50px}
    -->
    </STYLE>
    </HEAD>
    <BODY>
    <P onMouseOver="this.className='posi';" onMouseDown="this.className='nega';"
    onMouseUp="this.className='';" onMouseOut="this.className='';">
        Powell's April 14 letter to Defense Secretary Donald H. Rumsfeld said the U.S. still was
        questioning some 660 prisoners from 42 countries about al-Qaida and other terrorist
        activities. The prisoners have been held without trial and do not have access to 
        lawyers.
    </P>
    </BODY>
</HTML>
Ãâ·Â°á°ú
Powell's April 14 letter to Defense Secretary Donald H. Rumsfeld said the U.S. still was questioning some 660 prisoners from 42 countries about al-Qaida and other terrorist activities. The prisoners have been held without trial and do not have access to lawyers.





ÀÌ ¹®¼­ÀÇ ÀúÀÛ±ÇÀº www.cadvance.org ¿¡ ÀÖ½À´Ï´Ù.

Top
Back
New
°Ë»ö