<html>
<style>
#fullbg { background-color:Gray; left:0px; opacity:0.5; position:absolute; top:0px; z-index:3; filter:alpha(opacity=50); /* IE6 */ -moz-opacity:0.5; /* Mozilla */ -khtml-opacity:0.5; /* Safari */ }
#dialog { background-color:#FFF; border:1px solid #888; display:none; height:100px; left:50%; margin:-100px 0 0 -100px; padding:12px; position:fixed !important; /* 浮动对话框 */ position:absolute; top:50%; width:200px; z-index:5; }
#dialog p {margin:0 0 12px; }
#tishi p.close { text-align:right; font-size:12px;}
#tishi { font-size:12px;}
#tishi .tishi1{padding-left:0px; }
#tishi .tishi2{padding-left:70px; }
#tishi .tishi2 a{ color:#F00; cursor: pointer; text-decoration:underline}
#contents {font-size:12px;color:blue;text-align:center;padding-top:10px;}
</style>
<div ).hide();
}
</script>

<body>
<input type="button" value="showBg" onclick="showBg()"/>
</body>

</body>

</html>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2021-09-07
  • 2022-12-23
  • 2021-04-22
  • 2021-11-02
  • 2022-01-30
猜你喜欢
  • 2021-08-18
  • 2022-02-27
  • 2021-06-20
  • 2020-05-23
  • 2022-12-23
相关资源
相似解决方案