#D1 {
position:absolute; left:0; top:0;
width:100; height:100;
background-color:yellow;
layer-background-color:yellow;
}
| |
| <span id=D1><img src="100x100.jpg" width="100" height="100"></span> | |
ÀÌ ÆäÀÌÁö¸¦ nn4·Î º¸¸é document.D1.document.width=100, document.D1.document.height=100 À̰í
ie4·Î º¸¸é document.all.D1.offsetWidth = 100, document.all.D1.offsetHeight = 100, document.all.D1.clientWidth = 100,
document.all.D1.clientHeight = 100 ÀÔ´Ï´Ù. Áï ³»¿ë¹° ¿Ü¿¡ ·¹À̾îÀÇ Å©±â¿¡ ¿µÇâÀ» ¹ÌÄ¥¼ö ÀÖ´Â ¾î¶²°Íµµ
ÁöÁ¤À» ÇÏÁö¾Ê¾Æ ·¹À̾îÀÇ Å©±â´Â ³»¿ë¹°ÀÇ Å©±â¿Í °°½À´Ï´Ù.