°³Ã¼°¡ Ç¥ÇöµÇ´Â°¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
block | °³Ã¼°¡ ºí·°¿¤·¹¸àÆ®·Î Ç¥ÇöµÈ´Ù. |
none | °³Ã¼°¡ µð½ºÇ÷¹À̵ÇÁö ¾Ê´Â´Ù. |
inline | µðÆúÆ®À̸ç, °³Ã¼°¡ ³»¿ëÀÇ Å©±â¿¡µû¶ó ÀζóÀÎ ¿¤·¹¸àÆ®·Î Ç¥ÇöµÈ´Ù. |
inline-block | °³Ã¼°¡ ÀζóÀÎÀ¸·Î Ç¥ÇöµÇÁö¸¸, °³Ã¼ÀÇ ³»¿ëÀº ºí·° ¿¤·¹¸àÆ®·Î Ç¥ÇöµÈ´Ù. ÀÎÁ¢ ÀζóÀÎ ¿¤·¹¸àÆ®´Â °£°ÝÀ» Çã¿ëÇÏ¸ç °°Àº ¶óÀο¡ Ç¥ÇöµÈ´Ù. |
list-item | IE6 ÀÌÈÄ, °³Ã¼°¡ ºí·°¿¤·¹¸àÆ®·Î Ç¥ÇöµÇ°í ¸ñ·ÏÇ׸ñ ¸¶Å©°¡ Ãß°¡µÈ´Ù. |
table-header-group | Å×À̺íÀÇ ¸Ó¸´ºÎºÐ(header)ÀÌ Ç×»ó ¸ðµç ÁÙ°ú ÁÙÀÇ ±¸·ìº¸´Ù ¸ÕÀú, ±×¸®°í À Á¦¸ñ(caption) ¾Æ·¡ µð½ºÇ÷¹À̵ȴÙ. ÀÌ ¸Ó¸´ºÎºÐÀº Å×À̺íÀÌ È®ÀåµÈ °¢ ÆäÀÌÁö¿¡ µð½ºÇ÷¹À̵ȴÙ. |
table-footer-group | Å×À̺íÀÇ ¹Ù´ÚºÎºÐ(footer)ÀÌ Ç×»ó ¸ðµç ÁÙ°ú ÁÙÀÇ ±¸·ì ´ÙÀ½, ±×¸®°í ¹Ù´Ú Á¦¸ñ(caption) À§¿¡ µð½ºÇ÷¹À̵ȴÙ. ÀÌ ¹Ù´ÚºÎºÐÀº Å×À̺íÀÌ È®ÀåµÈ °¢ ÆäÀÌÁö¿¡ µð½ºÇ÷¹À̵ȴÙ. |
ÀÌ ¼Ó¼ºÀº currentStyle¿¡¼´Â ÀбâÀü¿ëÀÌ°í, ±×¿ÜÀÇ °³Ã¼¿¡¼´Â Àбâ/¾²±âÀ̸ç, µðÆúÆ®°ªÀº ´ÙÀ½°ú °°À¸¸ç ±× ¿Ü´Â inlineÀÌ´Ù.
ADDRESS BLOCKQUOTE BODY CENTER COL COLGROUP DD DIR DIV DL DT FIELDSET FORM Hn HR IFRAME LEGEND LISTING MARQUEE MENU OL P PLAINTEXT PRE TABLE TD TH TR UL XMP | block |
FRAME TBODY TFOOT THEAD | none |
LI | list-item |
CSS(Cascading Style Sheets) ¾ÖÆ®¸®ºäÆ®´Â »ó¼ÓµÇÁö ¾Ê´Â´Ù.
IE6¿¡¼ ÀÌ ¼Ó¼ºÀº list-item °ªÀ» Áö¿øÇÑ´Ù.
IE4.0¿¡¼, block, inline°ú list-item °ªµéÀº ¸í½ÃÀûÀ¸·Î Áö¿øÇÏÁö ¾ÊÁö¸¸ ¿¤·¹¸àÆ®´Â Ç¥ÇöµÈ´Ù.
IE5¿¡¼, block°ú inline °ªµéÀº ¸í½ÃÀûÀ¸·Î Áö¿øµÈ´Ù.
IE5.5¿Í ÀÌÀü¹öÀü¿¡¼, LI ¿¤·¹¸àÆ®ÀÇ ÀÌ ¼Ó¼ºÀÇ µðÆúÆ®°ªÀº blockÀÌ´Ù.
IE5.5¿¡¼ inline-block °ªÀ» Áö¿øÇÑ´Ù. ÀÌ °ªÀ» »ç¿ëÇÏ¿© widthÀ̳ª height ÁöÁ¤¾øÀÌ °³Ã¼¿¡ ¹èÄ¡(layout )¸¦ ¸¸µé ¼ö ÀÖ´Ù.
¸ðµç º¸ÀÌ´Â objectµéÀº ºí·°À̰ųª ÀζóÀÎ ¿¤·¹¸àÆ®ÀÌ´Ù. ¿¹¸¦µé¾î div °³Ã¼´Â ºí·° ¿¤·¹¸àÆ®ÀÌ°í, span °³Ã¼´Â ÀζóÀÎ ¿¤·¹¸àÆ®ÀÌ´Ù. ºí·°¿¤·¹¸àÆ®´Â ÀüÇüÀûÀ¸·Î ½ÃÀÛÇÏ¸é¼¿Í ³¡³ª¸é¼ »õ·Î¿î ÁÙÀÌ »ðÀԵǸç, ´Ù¸¥ ºí·°¿¤·¹¸àÆ®³ª ÀζóÀÎ ¿¤·¹¸àÆ®¸¦ Æ÷ÇÔÇÒ ¼ö ÀÖ´Ù. ÀÌ¿¡ ¹ÝÇØ ÀζóÀÎ ¿¤·¹¸àÆ®´Â »õ·Î¿î ÁÙÀ» »ðÀÔÇÏÁö ¾Ê°í, ÀζóÀÎ ¿¤·¹¸àÆ®³ª µ¥ÀÌÅÍÀ» Æ÷ÇÔÇÒ ¼ö ÀÖÀ¸³ª ºí·° ¿¤·¹¸àÆ®¸¦ Æ÷ÇÔÇÒ ¼ö ¾ø´Ù. display ¼Ó¼ºÀ» º¯°æÇϸé ÁÖÀ§ ³»¿ëÀÇ ¹èÄ¡¿¡ ¿µÇâÀ» ÁØ´Ù.
visibility ¼Ó¼º°ú´Â ´Þ¸®, display°¡ none °ªÀ» °¡Áö¸é ½ºÅ©¸° »ó¿¡¼ °³Ã¼¸¦ À§ÇÑ °ø°£ÀÌ È®º¸µÇÁö ¾Ê´Â´Ù.
table-header-group¿Í table-footer-group °ªµéÀº º¹¼ö ÆäÀÌÁö¿¡¼ tHead¿Í tFoot °³Ã¼µéÀÇ ³»¿ëÀ» °¢ ÆäÀÌÁö¿¡ µð½ºÇ÷¹ÀÌÇÒ ¼ö ÀÖµµ·Ï ÁöÁ¤Çϱâ À§ÇÏ¿© »ç¿ëµÉ ¼ö ÀÖ´Ù.
°³Ã¼ | script | CSS | IE ¹öÀü |
---|
ÀÌ ¼Ó¼ºÀº CSS1(Cascading Style Sheets, Level 1)¿¡¼ Á¤ÀǵǾú´Ù.
ºí·° ¹®Àå ÁßÀÇ SPAN ¹®ÀåÀÌ Æ÷ÇԵǾî ÀÖ´Ù.
<P style="border:solid 1 blue;padding:5">ºí·° ¹®Àå ÁßÀÇ <SPAN id="spanObj" style="color:red;border:solid 1 red">SPAN ¹®Àå</SPAN>ÀÌ Æ÷ÇԵǾî ÀÖ´Ù.</P> <BUTTON onclick="spanObj.style.display='inline';showA.innerText=spanObj.style.display">inline</BUTTON> <BUTTON onclick="spanObj.style.display='block';showA.innerText=spanObj.style.display">block</BUTTON> <BUTTON onclick="spanObj.style.display='none';showA.innerText=spanObj.style.display">none</BUTTON> <DIV>spanObj.style.display=<SPAN id=showA style="color:blue">°á°ú Ç¥½Ãâ</SPAN></DIV>
Ä 1-1 | Ä 1-2 | Ä 1-3 |
Ä 2-1 | Ä 2-2 | Ä 2-3 |
Ä 3-1 | Ä 3-2 | Ä 3-3 |
<SCRIPT> function doApply(){ cell12.style.display="none"; cell22.style.display="block"; cell32.style.display="inline"; showAll(); } function showAll(){ str='cell12.style.display='+cell12.style.display+'<BR>'; str+='cell22.style.display='+cell22.style.display+'<BR>'; str+='cell32.style.display='+cell32.style.display+'<BR>'; str+='rowObj.cells.length='+rowObj.cells.length+'<BR>'; showB.innerHTML=str; } </SCRIPT> <TABLE border=1 width=400> <TR id=rowObj> <TD>Ä 1-1</TD><TD id="cell12">Ä 1-2</TD><TD>Ä 1-3</TD> </TR> <TR> <TD>Ä 2-1</TD><TD id="cell22">Ä 2-2</TD><TD>Ä 2-3</TD> </TR> <TR> <TD>Ä 3-1</TD><TD id="cell32">Ä 3-2</TD><TD>Ä 3-3</TD> </TR> </TABLE> <INPUT type=button onclick="doApply()" value="Àû¿ëÇØ º¸¶ó"> <INPUT type=button onclick="cell12.style.display=cell22.style.display=cell32.style.display='';showAll()" value="¿ø»ó ȸº¹"> <DIV id=showB><SCRIPT>showAll()</SCRIPT></DIV>