asp.net table的边框在浏览器里显示不出来?
<tablestyle="background-color:#ebf2f9;width:100%;border-color:#6298e1;border-style:in...
<table style="background-color:#ebf2f9; width:100%; border-color:#6298e1; border-style:inherit; border-width:1px;">
<tr style="border-color:#6298e1; border-style:inherit; border-width:1px;">
<td style="width:5%; border-color:#6298e1; border-style:inherit; border-width:1px;">
<asp:TextBox BackColor="Transparent" BorderColor="Transparent" ID="txtxh" runat="server" BorderWidth="0px" Text='<%#Eval("adminid")%>' Width="100%" ReadOnly="true"></asp:TextBox>
</td>
<td style="width:10%; border-color:#6298e1; border-style:inherit; border-width:1px;">
<asp:TextBox BackColor="Transparent" BorderColor="Transparent" ID="txtzh" runat="server" BorderWidth="0px" Text='<%#Eval("adminname")%>' Width="100%" ReadOnly="true"></asp:TextBox>
</td>
<td style="width:10%; border-color:#6298e1; border-style:inherit; border-width:1px;">
<asp:TextBox BackColor="Transparent" BorderColor="Transparent" ID="txtsyr" runat="server" BorderWidth="0px" Text='<%#Eval("adpers")%>' Width="100%"></asp:TextBox>
</td>
</tr>
</table>
设置了边框,但在浏览器中就是显示不出来?不知道怎么回事。 展开
<tr style="border-color:#6298e1; border-style:inherit; border-width:1px;">
<td style="width:5%; border-color:#6298e1; border-style:inherit; border-width:1px;">
<asp:TextBox BackColor="Transparent" BorderColor="Transparent" ID="txtxh" runat="server" BorderWidth="0px" Text='<%#Eval("adminid")%>' Width="100%" ReadOnly="true"></asp:TextBox>
</td>
<td style="width:10%; border-color:#6298e1; border-style:inherit; border-width:1px;">
<asp:TextBox BackColor="Transparent" BorderColor="Transparent" ID="txtzh" runat="server" BorderWidth="0px" Text='<%#Eval("adminname")%>' Width="100%" ReadOnly="true"></asp:TextBox>
</td>
<td style="width:10%; border-color:#6298e1; border-style:inherit; border-width:1px;">
<asp:TextBox BackColor="Transparent" BorderColor="Transparent" ID="txtsyr" runat="server" BorderWidth="0px" Text='<%#Eval("adpers")%>' Width="100%"></asp:TextBox>
</td>
</tr>
</table>
设置了边框,但在浏览器中就是显示不出来?不知道怎么回事。 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询