<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>千里难寻是朋友,朋友多了路好走,一曾相识,心诚则灵。愿我们永远是朋友。</title>
<style type="text/css">
body{margin:0;padding:0}
#ScrollPanel{width:150px;height:100px;background:#ccc;position:fixed;right:0;bottom:0}
#ScrollPanel p{font-size:12px;line-height:18px;padding:10px}
</style>
<!--[if lte IE 6]>
<style type="text/css">
html,body{width:100%;height:100%;overflow:hidden;margin:0;padding:0}
body{overflow:auto}
#ScrollPanel{right:17px;bottom:0;position:absolute}
</style>
<![endif]-->
</head>
<body>
<div id="ScrollPanel"><p>千里难寻是朋友,朋友多了路好走,一曾相识,心诚则灵。愿我们永远是朋友。</p></div>
<div style="height:1000px"></div>
</body>
</html>
固定在页面某位置的内容。不随页面抖动。
最新推荐文章于 2022-09-28 13:25:05 发布