µð½ºÇ÷¹À̵Ǵ Å×À̺í(table) ÁÖÀ§¿¡ ÇÁ·¹ÀÓ Å׵θ®(border) Ç¥Çö ¹æ½ÄÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
: (¼Ó¼º ¹®ÀÚ¿­)
¼Ó¼º°ªÀº µð½ºÇ÷¹À̵Ǵ Å×À̺í(table) ÁÖÀ§¿¡ ÇÁ·¹ÀÓ Å׵θ®(border) Ç¥Çö ¹æ½ÄÀ» ³ªÅ¸³»´Â ¹®ÀÚ¿­ÀÌ´Ù.

void µðÆúÆ®À̸ç, ¸ðµç ¿ÜºÎ¸é¿¡¼­ Å×À̺íÀÇ Å׵θ®¸¦ Á¦°ÅÇÑ´Ù.
above Å×À̺íÀÇ À­¸é Å׵θ®¸¦ µð½ºÇ÷¹ÀÌ ÇÑ´Ù.
below Å×À̺íÀÇ ¾Æ·§¸é Å׵θ®¸¦ µð½ºÇ÷¹ÀÌ ÇÑ´Ù.
border Å×À̺íÀÇ ¸ðµç¸é Å׵θ®¸¦ µð½ºÇ÷¹ÀÌ ÇÑ´Ù.
box Å×À̺íÀÇ ¸ðµç¸é Å׵θ®¸¦ µð½ºÇ÷¹ÀÌ ÇÑ´Ù.
hsides Å×À̺íÀÇ À­¸é°ú ¾Æ·§¸é Å׵θ®¸¦ µð½ºÇ÷¹ÀÌ ÇÑ´Ù.
lhs Å×À̺íÀÇ ¿ÞÂʸé Å׵θ®¸¦ µð½ºÇ÷¹ÀÌ ÇÑ´Ù.
rhs Å×À̺íÀÇ ¿À¸¥Âʸé Å׵θ®¸¦ µð½ºÇ÷¹ÀÌ ÇÑ´Ù.
vsides Å×À̺íÀÇ ¿ÞÂÊ°ú ¿À¸¥Âʸé Å׵θ®¸¦ µð½ºÇ÷¹ÀÌ ÇÑ´Ù.

ÀÌ ¼Ó¼ºÀº Àбâ/¾²±â·Î µðÆúÆ®°ªÀº voidÀÌ´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
Âü°í
rules

(¿µ¹®) Dynamic Properties
ÀÌ ¼Ó¼ºÀº HTML 4.0°ú (¿µ¹®) W3C DOM Level 1(Document Object Model)¿¡¼­ Á¤ÀǵǾú´Ù..


Å×À̺í ÇÁ·¹ÀÓ ¿¹Á¦ ÇöÀç table.frame="void"
Ä­ 2-1 Ä­ 2-2
Ä­ 3-1 Ä­ 3-2
°á°ú Ç¥½Ãâ
<DIV style=padding:10>
<TABLE id="tableObj" frame="void" border=3 cellspacing=3 cellpadding=3 bgcolor=#ffffaa width=500>
<TR><TD>Å×À̺í ÇÁ·¹ÀÓ ¿¹Á¦</TD><TD>ÇöÀç table.frame="<SPAN id=cellshow style=color:red>void</SPAN>"</TD></TR>
<TR><TD>Ä­ 2-1</TD><TD>Ä­ 2-2</TD></TR>
<TR><TD>Ä­ 3-1</TD><TD>Ä­ 3-2</TD></TR>
</TABLE>
</DIV>
<STYLE>.butClass{width:60}</STYLE>
<BUTTON onclick=showFrame('above') class=butClass>above</BUTTON>
<BUTTON onclick=showFrame('below') class=butClass>below</BUTTON>
<BUTTON onclick=showFrame('border') class=butClass>border</BUTTON>
<BUTTON onclick=showFrame('box') class=butClass>box</BUTTON>
<BUTTON onclick=showFrame('hsides') class=butClass>hsides</BUTTON>
<BUTTON onclick=showFrame('lhs') class=butClass>lhs</BUTTON>
<BUTTON onclick=showFrame('rhs') class=butClass>rhs</BUTTON>
<BUTTON onclick=showFrame('void') class=butClass>void</BUTTON>
<BUTTON onclick=showFrame('vsides') class=butClass>vsides</BUTTON>
<DIV id=showA style="border:solid 1 blue;padding:5">°á°ú Ç¥½Ãâ</DIV>
<SCRIPT>
frameVal=tableObj.frame;
function showFrame(ftype){
  tableObj.frame=cellshow.innerText=ftype;
  str='tableObj.frame=<FONT color=blue>'+tableObj.frame+'</FONT><BR>';
  showA.innerHTML=str;
}
</SCRIPT>