右下角返回顶部功能

来源:互联网 发布:fm2017梅西数据 编辑:程序博客网 时间:2024/05/21 09:42
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
 <title>Untitled Document</title>


</head>
<html>
<body>
<p>1</p>
<img src="img/a.jpg">
  <div style="position: fixed; _position: absolute; z-index: 999999; display: block; bottom: 217px; right: 10px; font-size: 20px; color: #FFF; width:58px;height: 58px ;border:2px solid #fc0017">
   <a href="#"  style="text-decoration:none; color: #fc0017 ;font-size:22px">返回顶部</a>
</div>
</body>
</html>
<style>

</style>