°³Ã¼ ÁÖÀ§ÀÇ Å׵θ®(border) µÎ²²¸¦ ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.

Àμö
: (¼Ó¼º Á¤¼ö°ª)
¼Ó¼º°ªÀº °³Ã¼ ÁÖÀ§ÀÇ Å׵θ® µÎ²²¸¦ Çȼ¿ ´ÜÀ§·Î ³ªÅ¸³»´Â Á¤¼ö°ªÀÌ´Ù.

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

Ư±â

Å׵θ®¸¦ 0À¸·Î ¼³Á¤Çϰųª »ý·«ÇϸéÅ׵θ®¸¦ µð½ºÇ÷¹ÀÌ ÇÏÁö ¾Ê´Â´Ù.
border ¾ÖÆ®¸®ºäÆ®¸¦ °ª¾øÀÌ ¼³Á¤Çϸé ÇÑÇȼ¿ º¸´õ¸¦ µð½ºÇ÷¹ÀÌ ÇÑ´Ù.

À̼ӼºÀº IE6ºÎÅÍ Object °³Ã¼¿¡µµ Àû¿ëµÈ´Ù.

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

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


IMG ¼Ó¼º ¿¹Á¦


°á°ú Ç¥½Ãâ
<SCRIPT>
function doShow(job){
  if (job=='+')  if (imgObj.border<20) imgObj.border++;
  if (job=='-')  if (imgObj.border>0) imgObj.border--;
  str='imgObj.border=<FONT color=blue>'+imgObj.border+'</FONT><BR>';
  showA.innerHTML=str;
}
</SCRIPT>
<IMG id="imgObj" src="../../gif/flower1.jpg" border="10" width="300"><BR>
<BUTTON onclick="doShow('+')" style=width:160>Å׵θ® ´ÃÀ̱â</BUTTON>
<BUTTON onclick="doShow('-')" style=width:160>Å׵θ® ÁÙÀ̱â</BUTTON>
<DIV id=showA>°á°ú Ç¥½Ãâ</DIV>