Hej E2000,
Her er hvad du søger :
<body onLoad="textWidth()">
<script language="JavaScript"><!--
function textWidth() {
    if (document.layers)
        alert('bredde = ' + document.layers['myId'].document.width + ' højde = ' + document.layers['myId'].document.height);
    else if (document.all)
        alert('bredde = ' + document.all['myId'].clientWidth + ' højde = ' +  document.all['myId'].clientHeight);
}
//--></script>
<div id="myId" style="position:absolute;">
Hvor høj og bredt<BR>
er dette layer?<BR>
</div>