日期:2014-05-17  浏览次数:20530 次

多层表头的Table怎样实现固定表头
页面代码如下。

 <div style="border-style: solid; border-width: 1px">
                <asp:ScriptManager ID="ScriptManager2" runat="server">
                </asp:ScriptManager>
                <table align="center" rules="all" 
                    style="width: 100%; text-align: center; height: 70px; font-size: medium;">
                    <tr>
                        <td align="center" rowspan="2" style="width: 88px">
                            姓名</td>
                        <td colspan="2">
                            星期一</td>
                        <td colspan="2">
                            星期二</td>
                        <td colspan="2">
                            星期三</td>
                        <td colspan="2">
                            星期四</td>
                        <td colspan="2">
                            星期五</td>
                    </tr>
                    <tr>
                        <td>
                            上午</td>
                      &n