Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 表格的行、列行在IE中不可见_Asp.net_Css - Fatal编程技术网

Asp.net 表格的行、列行在IE中不可见

Asp.net 表格的行、列行在IE中不可见,asp.net,css,Asp.net,Css,我的问题是没有应用表格样式 我希望将表格式化为行和列顺序。不太清楚您所说的我希望将表格式化为行和列是什么意思?我看到IE10上显示了边框。这个CSS在哪里?它是内联定义的还是外部文件?我看到表格周围缺少边框,尽管它出现在tr和td上。事实上,这是另一种方式选择的颜色太浅。表有边框,在行和列上更可见,因为顶部和底部的行边框有助于实现这一点,并使其更具吸引力。只需将样式名称从.ContentTable更改为.ContentTable、.ContentTable tr、.ContentTable td

我的问题是没有应用表格样式


我希望将表格式化为行和列顺序。

不太清楚您所说的我希望将表格式化为行和列是什么意思?我看到IE10上显示了边框。这个CSS在哪里?它是内联定义的还是外部文件?我看到表格周围缺少边框,尽管它出现在tr和td上。事实上,这是另一种方式选择的颜色太浅。表有边框,在行和列上更可见,因为顶部和底部的行边框有助于实现这一点,并使其更具吸引力。只需将样式名称从.ContentTable更改为.ContentTable、.ContentTable tr、.ContentTable td,看看问题是否得到解决。如果那不行的话
  <table cellpadding="4" cellspacing="1" align="center" rules="all" class="ContentTable">
                <tr>
                    <td>
                        Active Students
                    </td>
                    <td>
                        <asp:TextBox ID="txtActiveStudents" runat="server" CssClass="TextBox" ReadOnly="true"></asp:TextBox>

                    </td>
                </tr>
                <tr>
                    <td>
                        Student/Teacher Ratio (Agreed Upon)
                    </td>
                    <td>
                        <asp:TextBox ID="txtRatio" runat="server" CssClass="TextBox" ReadOnly="true"></asp:TextBox>
                    </td>
                </tr>

            </table>
 .ContentTable
 {
border: solid 1px #EBEBEB;
border-collapse: collapse;
width: 98%;
vertical-align: middle;

  }