HTML表格样式宽度不起作用

Ria*_*ney 9 html html-table width

我有一张像这样的桌子:

<table id="MyTable" cellspacing="0" cellpadding="0">
    <thead>
        <tr>
            <th style="width: 30%;">
                <asp:Literal ID="LitDescriptionTitle" runat="server" />
            </th>
            <th style="width: 30%;">
                <asp:Literal ID="LitDescription2Title" runat="server" />
            </th>
            <th style="width: 30%;">
                <asp:Literal ID="LitAddressTitle" runat="server" />
            </th>
            <th style="width: 10%;">
                &nbsp;
            </th>
        </tr>
    </thead>
<tbody>
Run Code Online (Sandbox Code Playgroud)

现在列宽正确设置为IE中的百分比,但不是在Firefox中.(可能FF正确做事)

我可以做些什么来使列的宽度固定为IE和FF中的上述百分比?

Ahm*_*laf 5

添加

样式=“宽度:100%;”

到餐桌上