<!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>chinmo.net</title> <style type="text/css"> body{ margin:0px; padding:0px; } #glideDiv0{position:fixed; bottom:0;left:0; width:100%; background:#F00;} </style> <!--[if IE 6]> <style type="text/css"> html{overflow:hidden;} body{height:100%;overflow:auto;} #glideDiv0{position:absolute;} </style> <![endif]--> </head> <body> <div id="wrap_outer"> <br/><br/>固定Div,且scroll时Div不闪动。 <br/><br/>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa <br/><br/>aaaa11 </div> <div id="glideDiv0"> 固定顶部不动 </div> </body> </html>
div 固定不动,不随滚动条滚动且不闪动
最新推荐文章于 2024-06-24 14:03:22 发布