#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>


·¹À̾ ¾Æ¹«°Íµµ ÁöÁ¤ÇÏÁö ¾Ê°í 100, 100 Å©±âÀÇ À̹ÌÁö ÇѰ³¸¸ ³Ö¾îÁÖ¾ú½À´Ï´Ù. ÀÌ °æ¿ì nn4¿¡¼­ 100, 100ÀÌ ³ª¿À°í ie4¿¡¼­µµ 100À¸·Î offset, client°¡ °°½À´Ï´Ù.

ÀÌ ÆäÀÌÁö¸¦ 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 ÀÔ´Ï´Ù. Áï ³»¿ë¹° ¿Ü¿¡ ·¹À̾îÀÇ Å©±â¿¡ ¿µÇâÀ» ¹ÌÄ¥¼ö ÀÖ´Â ¾î¶²°Íµµ ÁöÁ¤À» ÇÏÁö¾Ê¾Æ ·¹À̾îÀÇ Å©±â´Â ³»¿ë¹°ÀÇ Å©±â¿Í °°½À´Ï´Ù.

BACK