<font id=s1 style="font-size:0px"> </font>this.valuesfafdafasfafasdfasfd<font id=s2 style="visibility:hidden"> </font>
<script language=javascript>alert(getInfo(s2).left-getInfo(s1).left);
function getInfo(o){//取得坐标
var to=new Object();
to.left=to.right=to.top=to.bottom=0;
var twidth=o.offsetWidth;
var theight=o.offsetHeight;
while(o!=document.body){
to.left+=o.offsetLeft;
to.top+=o.offsetTop;
o=o.offsetParent;
}
to.right=to.left+twidth;
to.bottom=to.top+theight;
return to;
}
</script>