3-D Å׵θ®¸¦ Æ÷ÇÔÇÏ¿© Å׵θ®ÀÇ ¹àÀº »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
: (¼Ó¼º »ö»ó)

¼Ó¼º°ªÀº Å׵θ®ÀÇ ¹àÀº »ö»óÀ» rrggbb »ö»óÀ̳ª »ö»ó¸íÀ» ³ªÅ¸³»´Â ¹®ÀÚ¿­ÀÌ´Ù.

ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.

Ư±â

ÀÌ ¼Ó¼ºÀº borderColorDarkÀÇ ¹Ý´ëÀ̸ç BORDER ¾ÖÆ®¸®ºäÆ®¿¡ ÇØ´çÇÏ´Â border ¼Ó¼º°ú °°ÀÌ »ç¿ëÇÏ¿©¾ß ÇÑ´Ù. ÀÌ ¼Ó¼ºÀ¸·Î´Â CSS(Cascading Style Sheets) border º¹ÇÕ ¼Ó¼º¿¡´Â ¿µÇâÀ» ÁÖÁö ¸øÇÑ´Ù. À̸¦ º¯°æÇϱâ À§Çؼ­´Â ½ºÅ¸ÀϽ¬Æ®¸¦ »ç¿ëÇÏ¿©¾ß ÇÑ´Ù.

ÀϺΠºÎ¶ó¿ìÀú¿¡¼­´Â »ö»ó¸íÀ» ÀνÄÇÏÁö ¸øÇÒ ¼ö ÀÖÁö¸¸ RGB »ö»óÀº ÀνÄÇÏ°í Á¤È®È÷ Ç¥ÇöÇÏ¿©¾ß ÇÑ´Ù.

borderColor ¼Ó¼ºÀ» »ç¿ëÇÏ°í ÀÌ ¼Ó¼ºÀ» »ç¿ëÇÏÁö ¾Ê´Â °ÍÀ» ±ÇÀåÇÑ´Ù.

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

table Å׵θ® »ö»ó ¼Ó¼º ¿¹Á¦

R1C1R1C2R1C3R1C4R1C5
R2C1R2C2R2C3R2C4R2C5
R3C1R3C2R3C3 R3C4R3C5
R4C1R4C2R4C3R4C4R4C5
<TABLE id="tableObj" bgColor="#ffffdd" borderColorDark="red" borderColorLight="pink" border=5 cellpadding=9 cellspacing=9 width=500>
<COLGROUP id="colGroupObj" align="center" bgColor="pink"><COL><COL></COLGROUP><COL><COL><COL id="colObj" bgColor="aqua">
<TR><TD>R1C1</TD><TD>R1C2</TD><TD>R1C3</TD><TD>R1C4</TD><TD>R1C5</TD></TR>
<TR id="trObj" borderColorDark="green" borderColorLight="lightgreen">
  <TD>R2C1</TD><TD>R2C2</TD><TD>R2C3</TD><TD>R2C4</TD><TD>R2C5</TD></TR>
<TR><TD>R3C1</TD><TD>R3C2</TD><TD>R3C3</TD>
  <TD id="tdObj" borderColorDark="navy" borderColorLight="aqua">R3C4</TD><TD>R3C5</TD></TR>
<TR><TD>R4C1</TD><TD>R4C2</TD><TD>R4C3</TD><TD>R4C4</TD><TD>R4C5</TD></TR>
</TABLE>
<SCRIPT>
str='tableObj.bgColor="<FONT color=blue>'+tableObj.bgColor+'</FONT>"<BR>';
str+='tableObj.borderColorDark="<FONT color=blue>'+tableObj.borderColorDark+'</FONT>"<BR>';
str+='tableObj.borderColorLight="<FONT color=blue>'+tableObj.borderColorLight+'</FONT>"<BR>';
str+='trObj.borderColorDark="<FONT color=blue>'+trObj.borderColorDark+'</FONT>"<BR>';
str+='trObj.borderColorLight="<FONT color=blue>'+trObj.borderColorLight+'</FONT>"<BR>';
str+='tdObj.borderColorDark="<FONT color=blue>'+tdObj.borderColorDark+'</FONT>"<BR>';
str+='tdObj.borderColorLight="<FONT color=blue>'+tdObj.borderColorLight+'</FONT>"<BR>';
document.write(str);
</SCRIPT>