?ㄦ?锛?灏?浠ヤ?浠g??淇?瀛?涓?TML?煎???椤甸?㈠?沖????
瀹??扮?????斤?
褰?椤甸?㈤????瀹圭??楂?搴?病??璁╅〉?㈠?虹?版??ㄦ?℃?訛?椤甸?㈠???椤甸?㈢????搴??ㄦ?劇ず??
褰??虹?版??ㄦ?″??锛?DIV灞?浼????ㄥ??涓?璺???锛??ㄩ〉?㈢????搴??ㄦ?劇ず??
?存??ABLE??楂?搴?氨??浠ョ????IV灞?濮?缁??ㄩ〉?㈡??搴???
<! DOCTYPE?html?PUBLIC?"-//W3C//DTD?XHTML?1.0?Transitional//EN"?"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
< html? xmlns ="http://www.w3.org/1999/xhtml" >
< head >
< meta? http-equiv ="Content-Type" ?content ="text/html;?charset=gb2312" ? />
< title > JS?峰??缃?椤甸??搴???灞?骞???杈ㄧ??楂?搴???IV灞?濮?缁??ㄩ〉?㈡??搴???</ title >
</ head >
< body? leftmargin ="0" ?topmargin ="0" >
< table? width ="100%" ?height ="405" ?bgcolor ="#eeeeee" >
???? < tr >
???????? < td >
????????aaa
???????? </ td >
???? </ tr >
</ table >
< div? id ="t1" ??style ="position:absolute;border:double;" >
aaaaaaa
</ div >
< script? language ="javascript" > ...
//document.all.t1.style.top?=?document.body.clientHeight;
????var?h1?=?window.screen.availHeight-165;
????if?(document.body.clientHeight<h1)
??????document.all.t1.style.top?=?window.screen.availHeight-165;
????document.write?("褰???绐??e?斤?"+document.body.offsetWidth+"锛???楂?锛?"+document.body.clientHeight+"aaaa"+(window.screen.availHeight));
?
</ script >
</ body >
</ html >