Ctrl+/
IE11
F11
ESC
PgUp
PgDn
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>IE6下实现CSS固定定位{position:fixed}</title>
<style type="text/css">
*html{overflow:hidden;}
*body{height:100%;overflow:auto;}
.content{height:2000px;}
.mydiv{width:300px;height:300px;position:fixed;margin-top:-150px;margin-left:-150px;background:#9C0;left:50%;top:50%;_position:absolute;}
.return{ margin:10px 30px;padding:5px;background:#ffc;border:1px dashed #ccc;font-weight:700;font-size:14px}
.return a{padding-left:5px;font-weight:normal;letter-spacing:1px;text-decoration:none; color:#456;-webkit-transition-duration:1s;border-bottom:1px dashed #4a630f;}
.return a:hover{text-decoration:none;color:#063;}
</style>
</head>
<body>
<div id="warp"></div>
<div class="content">
<div class="mydiv"></div>
</div>
</body>
</html>
CSS代码...
JS代码...
xxxxxxxxxx