,如果实现不了, 就这样
1: " />

弹出对话框 求一段最简单的div弹出框代码

来源:互联网  时间:2016/7/12 17:13:02

关于网友提出的“弹出对话框 求一段最简单的div弹出框代码”问题疑问,本网通过在网上对“弹出对话框 求一段最简单的div弹出框代码”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:

问题:弹出对话框 求一段最简单的div弹出框代码
描述:


用一个div可以实现吗,不能的话就用个div,要弹出在屏幕中间,锁住页面(即页面的所有部分(包括滚动条下面的)不能操作),
就这些要求
最好是这样

,如果实现不了,
就这样

解决方案1:

把下面代码复制到txt 然后还后缀为html
-----------------------------------






隐藏页面代码

    form
    {
      padding: 0px 0px 0px 0px;
      margin: 0px 0px 0px 0px;
    }
    .header
    {
      height: 70px;
      background: #32489A url(http://css.pageflakes.com/App_Themes/Purple_Unified/pageflakes.gif) no-repeat;
    }
    #header
    {
      height: auto;
      margin: 0;
      color: #ffffff;
    }
    #header #header_extra
    {
      height: auto;
      padding: 5px 5px 0px 10px;
      margin: 0;
    }
    h3
    {
      font-size: 1.1em;
      padding-bottom: 5px;
    }
    .clear
    {
      clear: both;
    }
    .layout
    {
      margin-top: 10px;
      border: none 0px;
      table-layout: fixed;
      border-collapse: collapse;
      padding: 0px;
    }
    .layout tr td
    {
      text-align: left;
      vertical-align: top;
      padding: 0px;
    }
    .LayoutPreviewTable
    {
      width: 60px;
      border: solid 1px gray;
      padding: 0px;
    }
    .LayoutPreviewTable tr td
    {
      background-color: #B8B8B8;
      padding-right: 3px;
    }
    .radio_item, .radio_item_active
    {
      padding: 2px 0 8px 5px;
      width: 500px;
    }
    .page_settings_buttons
    {
      margin-top: 10px;
    }
    .radio_item a
    {
      color: black;
    }
    .radio_item_active a
    {
      color: black;
    }
    .radio_item_active
    {
      background: #999;
    }
    .radio_item_active .radio
    {
      font-weight: bold;
    }
    .radio_right
    {
      float: right;
      margin-top: -1.5em;
      margin-right: 20px;
    }
    .radio_right2
    {
      float: right;
      margin-right: 40px;
    }
    .page_settings_buttons .radio_item_active p
    {
      margin: 0;
      padding: 0;
      margin-left: 2px;
      margin-top: 5px;
    }
    .save_or_cancel
    {
      text-align: right;
      margin-right: 20px;
      font-size: 13px;
      float: right;
      padding-top: 100px;
    }
    .container
    {
      border: 5px solid #333;
      width: 445px;
      background: white;
    }
    .confirm_choices
    {
      padding: 5px 10px 10px 8px;
    }
    .confirm_choices input
    {
      vertical-align: bottom;
    }
    .confirm_choices .confirmDialog_no_div
    {
      margin-top: 10px;
    }
    .box
    {
      overflow: visible;
      padding: 10px;
      margin: 10px;
    }
    .box h1
    {
      font-size: 18px;
      margin: 0px 0px 10px 0px;
      border: none;
    }
    .box p
    {
      padding: 0;
      margin: 5px 0 0 1px;
      font-size: 12px;
    }
    .box input.button
    {
      overflow: visible;
      margin: 0;
      margin-top: 10px;
    }
    .box table tr td
    {
      width: 120px;
    }
    #FlakePreviewButtons
    {
      text-align: center;
      margin: 20px 10px 10px 10px;
    }
    #FlakePreviewButtons input
    {
      margin-right: 10px;
    }
    .translucent
    {
      filter: alpha(opacity=50);
      -moz-opacity: 0.5;
      opacity: 0.5;
    }
    .popup
    {
      position: absolute;
      width: 450px;
      z-index: 60000;
    }
    .popup_content
    {
      padding: 0;
      margin: 0;
      background-color: White;
    }
    .dropplaceholder
    {
      background: #ECECEC;
      padding: 0;
      margin: 0;
      margin-bottom: 5px;
    }
    .centerDiv
    {
      text-align: center;
      vertical-align: middle;
      padding: 10px;
    }
    .nodisplay
    {
      display: none;
    }
    .hidden
    {
      visibility: hidden;
    }
    .display
    {
      display: block;
    }
    .nopadding
    {
      padding: 0px;
    }
    textarea, select, input
    {
      font: 8pt Tahoma, Arial, Helvetica;
      padding: 1px 3px 1px 3px;
    }
    .Start_Wizard_Back
    {
      float: right;
      margin: 25px 20px 0 0;
      font-weight: bold;
      color: White;
      font-size: 120%;
    }



网上很多

上一篇如何用sql语句查询表中某列不重复的所有项
下一篇那个4张图片在一个位置轮番显示谁有代码,教下
明星图片
相关文章
《弹出对话框 求一段最简单的div弹出框代码》由码蚁之家搜集整理于网络,
联系邮箱:mxgf168#qq.com(#改为@)