css层固定位置练习 层固定位置练习--by 阿会楠 html,body{ overflow:hidden; padding:0; margin:0; width:100%; height:100%; } #_body{ height:100%; overflow-y:scroll; width:100%; height:100%; } #adDiv{ position:absolute; z-index:99999; bottom:10px; left:10px; width:200px; height:30px; border:1px solid #8A9ABB; background:#F0F4F7; font:12px tahoma; text-align:center; line-height:30px; } 脚本之家 [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]