1
设计问题。 .................................................. .................................................. ...无法在网页中放入asp.net表格单元格
我正在努力把“主基准目标”表格单元正确。我尝试了各种风格,但它没有帮助。提前致谢。
CSS:
.labels {
font-size: 9pt;
font-weight: bold;
font-family: Calibri;
}
的Html
<fieldset style="border: solid; border-width: thin; width: 95%; height: 200px; border-color: #a8a8a8; margin: auto;">
<legend id="Legend14" runat="server" visible="true" style="width: auto; margin-bottom: 0px; font-size: 12px; font-weight: bold; color: #1f497d;"> Project Performance </legend>
<div style="margin-bottom: 10px; margin-left: 10px;">
<asp:Table ID="table8" runat="server" CssClass="labels">
<asp:TableRow>
<asp:TableCell>
Critical to Quality (CTQ)
</asp:TableCell>
<asp:TableCell>
<asp:TextBox runat="server" Width="590px" Height="23px" ></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
Baseline Performance
</asp:TableCell>
<asp:TableCell>
<asp:TextBox runat="server" Width="590px" Height="23px" ></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
Primary Metric
</asp:TableCell>
<asp:TableCell>
<asp:TextBox runat="server" Width="95px" Height="23px" ></asp:TextBox>
</asp:TableCell>
<asp:TableCell>
Primary Baseline Target
</asp:TableCell>
<asp:TableCell>
<asp:TextBox runat="server" Width="95px" Height="23px" ></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
Secondary Metric
</asp:TableCell>
<asp:TableCell>
<asp:TextBox runat="server" Width="590px" Height="23px" ></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
Target performance
</asp:TableCell>
<asp:TableCell>
<asp:TextBox runat="server" Width="590px" Height="23px" ></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
Performance at Project Close
</asp:TableCell>
<asp:TableCell>
<asp:TextBox runat="server" Width="590px" Height="23px" ></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</div>
</fieldset>
让我试试..... – Sak