我想将表格宽度383px更改为正确的百分比值

时间:2016-03-11 09:57:10

标签: html css

<TABLE ID="table001" width="383px" STYLE="border-width:0px;margin-bottom:6pt;margin-top:4pt;border-collapse:collapse;border-style:none;margin-left:auto;margin-right:auto;">
<TR STYLE="height:13px;">
<TD STYLE="width:14px;border-bottom-style:solid;border-bottom-width:0px;border-left-style:solid;border-left-width:0px;border-right-style:solid;border-right-width:0px;border-top-style:solid;border-top-width:0px;padding-bottom:3px;padding-left:0px;padding-right:0px;padding-top:3px;vertical-align:bottom;"></TD>
<TD STYLE="width:202px;border-bottom-style:solid;border-bottom-width:0px;border-left-style:solid;border-left-width:0px;border-right-style:solid;border-right-width:0px;border-top-style:solid;border-top-width:0px;padding-bottom:3px;padding-left:0px;padding-right:0px;padding-top:3px;vertical-align:bottom;"></TD>
<TD STYLE="width:45px;border-bottom-style:solid;border-bottom-width:1px;border-left-style:solid;border-left-width:0px;border-right-style:solid;border-right-width:0px;border-top-style:solid;border-top-width:0px;padding-bottom:3px;padding-left:0px;padding-right:0px;padding-top:3px;vertical-align:bottom;">
<P STYLE="font-family:Times New Roman, serif;font-size:8pt;font-style:normal;font-variant:normal;font-weight:bold;text-align:center;text-indent:0;"><FONT STYLE="font-style:normal;font-weight:bold;">FY 2015</FONT></P>
</TD>
<TD STYLE="width:18px;border-bottom-style:solid;border-bottom-width:0px;border-left-style:solid;border-left-width:0px;border-right-style:solid;border-right-width:0px;border-top-style:solid;border-top-width:0px;padding-bottom:3px;padding-left:0px;padding-right:0px;padding-top:3px;vertical-align:bottom;"></TD>
<TD STYLE="width:45px;border-bottom-style:solid;border-bottom-width:1px;border-left-style:solid;border-left-width:0px;border-right-style:solid;border-right-width:0px;border-top-style:solid;border-top-width:0px;padding-bottom:3px;padding-left:0px;padding-right:0px;padding-top:3px;vertical-align:bottom;">
<P STYLE="font-family:Times New Roman, serif;font-size:8pt;font-style:normal;font-variant:normal;font-weight:bold;text-align:center;text-indent:0;"><FONT STYLE="font-style:normal;font-weight:bold;">FY 2014</FONT></P>
</TD>
<TD STYLE="width:14px;border-bottom-style:solid;border-bottom-width:0px;border-left-style:solid;border-left-width:0px;border-right-style:solid;border-right-width:0px;border-top-style:solid;border-top-width:0px;padding-bottom:3px;padding-left:0px;padding-right:0px;padding-top:3px;vertical-align:bottom;"></TD>
<TD STYLE="width:45px;border-bottom-style:solid;border-bottom-width:1px;border-left-style:solid;border-left-width:0px;border-right-style:solid;border-right-width:0px;border-top-style:solid;border-top-width:0px;padding-bottom:3px;padding-left:0px;padding-right:0px;padding-top:3px;vertical-align:bottom;">
<P STYLE="font-family:Times New Roman, serif;font-size:8pt;font-style:normal;font-variant:normal;font-weight:bold;text-align:center;text-indent:0;"><FONT STYLE="font-style:normal;font-weight:bold;">FY 2013</FONT></P>
</TD>
</TR>
</TABLE>

我将表格宽度更改为38%(即383px / 10 = 38%计算),但它的值不正确。

0 个答案:

没有答案