3-D Å׵θ®¸¦ Æ÷ÇÔÇÏ¿© Å׵θ®ÀÇ ¾îµÎ¿î »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¼Ó¼º°ªÀº Å׵θ®ÀÇ ¾îµÎ¿î »ö»óÀ» rrggbb »ö»óÀ̳ª »ö»ó¸íÀ» ³ªÅ¸³»´Â ¹®ÀÚ¿ÀÌ´Ù.
ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.
ÀÌ ¼Ó¼ºÀº borderColorLightÀÇ ¹Ý´ëÀ̸ç BORDER ¾ÖÆ®¸®ºäÆ®¿¡ ÇØ´çÇÏ´Â border ¼Ó¼º°ú °°ÀÌ »ç¿ëÇÏ¿©¾ß ÇÑ´Ù. ÀÌ ¼Ó¼ºÀ¸·Î´Â CSS(Cascading Style Sheets) border º¹ÇÕ ¼Ó¼º¿¡´Â ¿µÇâÀ» ÁÖÁö ¸øÇÑ´Ù. À̸¦ º¯°æÇϱâ À§Çؼ´Â ½ºÅ¸ÀϽ¬Æ®¸¦ »ç¿ëÇÏ¿©¾ß ÇÑ´Ù.
ÀϺΠºÎ¶ó¿ìÀú¿¡¼´Â »ö»ó¸íÀ» ÀνÄÇÏÁö ¸øÇÒ ¼ö ÀÖÁö¸¸ RGB »ö»óÀº ÀνÄÇÏ°í Á¤È®È÷ Ç¥ÇöÇÏ¿©¾ß ÇÑ´Ù.
borderColor ¼Ó¼ºÀ» »ç¿ëÇÏ°í ÀÌ ¼Ó¼ºÀ» »ç¿ëÇÏÁö ¾Ê´Â °ÍÀ» ±ÇÀåÇÑ´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
R1C1 | R1C2 | R1C3 | R1C4 | R1C5 |
R2C1 | R2C2 | R2C3 | R2C4 | R2C5 |
R3C1 | R3C2 | R3C3 | R3C4 | R3C5 |
R4C1 | R4C2 | R4C3 | R4C4 | R4C5 |
<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>