div模态层示例

<!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" style="height: 100%;">
<head>
    <title>任务量分配 </title>
</head>
<body style="border-width: 0px; padding: 0px; margin: 0px; padding-top: 0px; height: 100%;
    position: relative;">
    <div style="padding: 0px; margin: 0px; border-width: 0px; overflow: auto; position: absolute;
        left: 0px; top: 0px; right: 0px; bottom: 0px; z-index: 0;">
        <form name="form1" method="post" id="form1" style="margin-left: 10px;">
        <div>
            <table style="width: 100%; border: 1px solid #B5CAE3; background-color: #DCECF4;
                height: 40px; width: 800px;">
                <tr>
                    <td>
                        <table style="display: inline-block;">
                            <tr>
                                <td style="width: 50px; text-align: right;">
                                    考试<span style="color: red;">*</span>
                                </td>
                                <td>
                                    <select name="ddlGrade" onchange="javascript:setTimeout('__doPostBack(\'ddlGrade\',\'\')', 0)"
                                        id="ddlGrade">
                                    </select>
                                </td>
                                <td style="width: 40px; text-align: right;">
                                    科目<span style="color: red;">*</span>
                                </td>
                                <td>
                                    <select name="ddlCourse" id="ddlCourse">
                                        <option value="010101003716010518010003">语文</option>
                                    </select>
                                </td>
                            </tr>
                        </table>
                        <table style="display: inline-block; margin-left: 10px;">
                            <tr>
                                <td id="btnSearchContainer" style="padding-left: 10px;">
                                    <input type="submit" name="btnSearch" value="查询" id="btnSearch" class="butn" />
                                </td>
                                <td id="btnAvgAssignContainer" style="padding-left: 10px;">
                                    <input type="submit" name="btnAvgAssign" value="平均分配" id="btnAvgAssign" class="butn" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
        </form>
    </div>
    <div style="padding: 0px; margin: 0px; border-width: 0px; position: absolute; left: 0px;
        top: 0px; right: 0px; bottom: 0px; z-index: 1; display: table-cell; filter: alpha(opacity=5);
        opacity: 0.05; background-color: White;">
    </div>
    <div style="padding: 0px; margin: 0px; border-width: 0px; position: absolute; left: 0px;
        top: 0px; right: 0px; bottom: 0px; z-index: 2; display: table-cell;">
        hello
    </div>
</body>
</html>

 

转载于:https://www.cnblogs.com/nanfei/p/6182245.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值