码迷,mamicode.com
首页 > 其他好文 > 详细

div模态层示例

时间:2016-12-15 11:24:40      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:ble   display   idt   tns   bsp   overflow   play   submit   margin   

<!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>

 

div模态层示例

标签:ble   display   idt   tns   bsp   overflow   play   submit   margin   

原文地址:http://www.cnblogs.com/nanfei/p/6182245.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!