table °³Ã¼ÀÇ tFoot °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.
ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ëÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.
table °³Ã¼°¡ tFoot ºÎºÐÀ» °¡Áö°í ÀÖÁö ¾ÊÀ¸¸é ¹Ýȯ°ªÀº nullÀÌ µÈ´Ù.
table °³Ã¼¿¡ ¿©·¯°³ÀÇ tFoot °³Ã¼¸¦ °®°í ÀÖÀ¸¸é Á¦ÀÏ ¸¶Áö¸· °Í¸¸À» tFoot °³Ã¼·Î Ãë±ÞÇÑ´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
ÀÌ ¼Ó¼ºÀº (¿µ¹®) W3C DOM Level 1(Document Object Model)¿¡¼ Á¤ÀǵǾú´Ù.
R1C1 | R1C2 | R1C3 | R1C4 |
R2C1 | R2C2 | R2C3 | R2C4 |
R3C1 | R3C2 | R3C3 | R3C4 |
R4C1 | R4C2 | R4C3 | R4C4 |
<TABLE id=tableObj width="300" border="1" cellspacing="0" cellpadding="4"> <TR><TD>R1C1</TD><TD>R1C2</TD><TD>R1C3</TD><TD>R1C4</TD></TR> <TR><TD>R2C1</TD><TD>R2C2</TD><TD>R2C3</TD><TD>R2C4</TD></TR> <TR><TD>R3C1</TD><TD>R3C2</TD><TD>R3C3</TD><TD>R3C4</TD></TR> <TFOOT> <TR><TD>R4C1</TD><TD>R4C2</TD><TD>R4C3</TD><TD>R4C4</TD></TR> </TFOOT> </TABLE> <SCRIPT> document.all.tableObj.tFoot.style.color='blue'; document.all.tableObj.tFoot.style.backgroundColor='#ffffcc'; document.write('tFootObj.style.color='+tFootObj.style.color+'<BR>'); document.write('tableObj.tFoot.style.color='+tableObj.tFoot.style.color+'<BR>'); </SCRIPT>