欢迎来到模板无忧!织梦模板,dede模板下载,织梦cms模板,免费网站模板下载站

模板无忧

css怎么样达成图片右上角添加复选框

企业模板

  页面如下:

  <%@pagelanguage="java"import="java.util.*"pageEncoding="UTF-8"%>

  <%

  Stringpath=request.getContextPath();

  StringbasePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

  %>

  <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN">

  <html>

  <head>

  <basehref="<%=basePath%>">

  <title>测试</title>

  <metahttp-equiv="pragma"content="no-cache">

  <metahttp-equiv="cache-control"content="no-cache">

  <metahttp-equiv="expires"content="0">

  <metahttp-equiv="keywords"content="keyword1,keyword2,keyword3">

  <metahttp-equiv="description"content="Thisismypage">

  <styletype="text/css">

  .main{

  float:left;

  margin-left:8px;

  }

  </style>

  </head>

  <body>

  <pclass="ztree">

  <ulid="treeDemo"class="ztree"></ul>

  </p>

  <pclass="main"style="position:relative;">

  <pclass="img">

  <imgalt="图片名字"src="plug-in/image/Desert.jpg"style="width:100px;height:100px">

  </p>

  <pclass="checkbox"style="position:absolute;TOP:0;right:0;z-index:1000">

  <inputid="box"type="checkbox"name="box">

  </p>

  </p>

  <pclass="main"style="position:relative;">

  <pclass="img">

  <imgalt="图片名字"src="plug-in/image/Desert.jpg"style="width:100px;height:100px">

  </p>

  <pclass="checkbox"style="position:absolute;TOP:0;right:0;z-index:1000">

  <inputid="box"type="checkbox"name="box">

  </p>

  </p>

  <pclass="main"style="position:relative;">

  <pclass="img">

  <imgalt="图片名字"src="plug-in/image/Desert.jpg"style="width:100px;height:100px">

  </p>

  <pclass="checkbox"style="position:absolute;TOP:0;right:0;z-index:1000">

  <inputid="box"type="checkbox"name="box">

  </p>

  </p>

  </body>

  </html>


希望以上内容可以解决您的问题!
如有其他问题欢迎大家一起交流学习!
作者:酱油妹 来源:www.109f.cn 关注: 时间:2022-05-07 14:00
版权声明:凡注明来源为http://www.nsxcb.cn的均为本站原创,转载请注明来源。
本文网址:http://www.nsxcb.cn/CSS/CSS3/20220507/14093.html
凡本站提供教程均已验证教程的准确性。
相关教程
在线客服

织梦模板 整站模板 新手教程 使用技巧