html强制不换行标签:
<nobr></nobr>表格中设置表头不换行:
<table id="example1" class="table table-bordered" style="width:440px;height:400px;margin-left:3px;margin-top:11px; "> <thead style="height:50px"> <tr> <th style="text-align:center;height :50px;font-size:medium"><nobr>企业编号</nobr></th> <th style="text-align:center;height :50px;font-size:medium"><nobr>企业名称</nobr></th> <th style="text-align:center;height :50px;font-size:medium"><nobr>场地面积</nobr></th> <th style="text-align:center;height :50px;font-size:medium"><nobr>采样点个数</nobr></th> </tr> </thead> <tbody style="font-size:small;text-align:center;height:30px;"></tbody> </table>79414400