Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
438 views
in Technique[技术] by (71.8m points)

table设置rowspan后设置宽度不起作用

<table width="100%">
            <thead>
                <tr class="firstRow">
                    <td colspan="12">展会名称:第XXX届北京国际XXX博会</td>
                    <td colspan="12">日期:2025年2月25日-27日</td>
                    <td colspan="4">特殊需求</td>
                </tr>
                <tr>
                    <td rowspan="2" width="10%">序号</td>
                    <td rowspan="2">馆号</td>
                    <td rowspan="2">展台号</td>
                    <td rowspan="2" width="50%">参展商</td>
                    <td rowspan="2" width="150">搭建商</td>
                    <td rowspan="2" width="150">联系人</td>
                    <td rowspan="2">联系人电话</td>
                    <td colspan="5">照明</td>
                    <td colspan="5">临时电</td>
                    <td colspan="5">动力</td>
                    <td>气</td>
                    <td>水</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
                <tr>
                    <td>15A/220V</td>
                    <td>15A/380V</td>
                    <td>30A/380V</td>
                    <td>60A/380V</td>
                    <td>100A/380V</td>
                    <td>15A/220V</td>
                    <td>15A/380V</td>
                    <td>30A/380V</td>
                    <td>60A/380V</td>
                    <td>100A/380V</td>
                    <td>15A/220V</td>
                    <td>15A/380V</td>
                    <td>30A/380V</td>
                    <td>60A/380V</td>
                    <td>100A/380V</td>
                    <td>6-8KG/Mpa</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>1</td>
                    <td>1-4#</td>
                    <td>N21</td>
                    <td>北京七街健身俱乐部管理有限公司</td>
                    <td>广州世展展览有限公司</td>
                    <td>宋某某</td>
                    <td>12312341234</td>
                    <td></td>
                    <td>1</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>1</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
                <tr>
                    <td>2</td>
                    <td>1-4#</td>
                    <td>I01</td>
                    <td>广州宇泉电子设备有限公司</td>
                    <td>广州辉耀装饰工程有限公司</td>
                    <td>宋某某</td>
                    <td>12312341234</td>
                    <td></td>
                    <td>1</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>1</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
                <tr>
                    <td>3</td>
                    <td>1-4#</td>
                    <td>H01</td>
                    <td>广州奥方美容设备有限公司</td>
                    <td>广州辉耀装饰工程有限公司</td>
                    <td>宋某某</td>
                    <td>12312341234</td>
                    <td></td>
                    <td>1</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>1</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>1</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
                <tr>
                    <td>4</td>
                    <td>1-4#</td>
                    <td>C25</td>
                    <td>江西和合实业有限公司</td>
                    <td>广州旗天展览策划有限公司</td>
                    <td>宋某某</td>
                    <td>12312341234</td>
                    <td></td>
                    <td>1</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
                <tr>
                    <td>5</td>
                    <td>1-4#</td>
                    <td>J13</td>
                    <td>北京恩盛众成国际贸易有限公司</td>
                    <td>北京攀美多国际广告有限公司</td>
                    <td>宋某某</td>
                    <td>12312341234</td>
                    <td>1</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>1</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
            </tbody>
        </table>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...