首页 > Web开发 > 详细

HTML里悬浮返回主页按钮

时间:2019-07-12 16:19:09      阅读:712      评论:0      收藏:0      [点我收藏+]

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<title></title>
<style type="text/css">
.auto-style1 {
height: 2680px;
}

</style>
</head>
<body style="background-color:aliceblue">
<form id="form1" runat="server">
<div class="auto-style1">
</div>

<!--把div放在这个位置就好了 begin-->
<div id="dg" runat="server" style="z-index: 9999; position: fixed ! important; right: 10px; top: 10px;">
<table style="position: absolute; width:260px; right: 0px; top: 0px;">
<asp:imageButton runat="server" ImageUrl="~/image/home.png" Width="48px" Height="50px" OnClick="Unnamed1_Click"></asp:imageButton>
</table>
</div>
<!--把div放在这个位置就好了 end-->


</form>
</body>
</html>

HTML里悬浮返回主页按钮

原文:https://www.cnblogs.com/yangsongyan/p/11176238.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!