表格中的HTML编码空间

时间:2015-12-17 19:55:34

标签: html html-table

我有一个充满表格的表格,我需要帮助去除间距,我希望表格触摸之间没有空格,这里是一个样本表:

也是html编码的新手,所以请帮忙

<table border="0" cellpadding="0" cellspacing="0" svmx-data="{{$D.Inspection}}" width="100%" 
                    <thead>
                        <tr>
                            <th class="theader" style="width: 25%;" svmx-data="{{$D.Inspection.Dry_Pipe_System__c}}">
                                {{$M.Inspection.Dry_Pipe_System__c.label}}</th>
                            <th class="theader" style="width: 15%;" svmx-data="{{$D.Inspection.Trip_Test_Type__c}}">
                                {{$M.Inspection.Trip_Test_Type__c.label}}</th>
                            <th class="theader" style="width: 15%;" svmx-data="{{$D.Inspection.Performed_From__c}}">
                                {{$M.Inspection.Performed_From__c.label}}</th>
                            <th class="theader" style="width:15%;" svmx-data="{{$D.Inspection.Trip_Test_Starting_PSI__c}}">
                                {{$M.Inspection.Trip_Test_Starting_PSI__c.label}}</th>
                            <th class="theader" style="width: 10%;" svmx-data="{{$D.Inspection.Valve_Trip_PSI__c}}">
                                {{$M.Inspection.Valve_Trip_PSI__c.label}}</th>
                            <th class="theader" style="width: 20%;" svmx-data="{{$D.Inspection.Dry_system_low_points_drained__c}}">
                                {{$M.Inspection.Dry_system_low_points_drained__c.label}}</th>
                        </tr>
                    </thead>
                </table>

0 个答案:

没有答案