zoukankan      html  css  js  c++  java
  • CSS之图片关闭

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>CSS之图片关闭</title>
    <script language="javascript">
    //关闭事件 function shut()
    { document.getElementById("close").style.display="none"; } </script> <style type="text/css"> body { margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align:center; } </style> </head> <body> <div id="close"> <img src="http://images.cnblogs.com/cnblogs_com/caidupingblogs/828701/o_5_11911_11.jpg" /><br /> <a href="javascript:shut()">关闭</a> </div> </body> </html>

    不努力,还要青春干什么?
  • 相关阅读:
    node.js
    js中文乱码问题
    238. Product of Array Except Self
    接下来要记得东西
    javascript 块内函数
    171. Excel Sheet Column Number
    Moore’s Voting Algorithm
    [ Python ] PIL
    [ Python ] KMP Algorithms
    房之事
  • 原文地址:https://www.cnblogs.com/caidupingblogs/p/5120187.html
Copyright © 2011-2022 走看看