I checked N more information and finally solved the problem. MD, I wrote one by myself, and the code is very simple! I tested IE6 in FIREFOX IE7, and there is no problem. I think many of them are looking for such code. I 'd like to post it and share it with you!
Copy codeThe Code is as follows:
<Div style = "position: absolute; border: 1px solid #000; right: 0;" id = "ad"> <a href = "http://www.zishu.cn"> rat test. </a> </div>
// If this row is written, the DIV is absolutely positioned. It is best to add a z-index; the solid-line Black edge with a border of 1 px; there is a 0PX from the right; ID = AD;
<Script language = "JavaScript" type = "text/javascript">
Function rightBottomAd (){
Var abc = document. getElementById ("ad ");
Abc. style. top = document.documentElement.scrollTop+document.doc umentElement. clientHeight-20 + "px"; // 20 is the height of this layer;
SetTimeout (function () {rightBottomAd () ;}, 50 );
}
RightBottomAd ();
</Script>
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ptml xmlns = "http://www.w3.org/1999/xhtml"> <pead> <meta http-equiv =" content-Type "content =" text/html; charset = UTF-8 "/> <title> script home www.jb51.net </title> </pead> <body> script home test. </body> </ptml>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]