您好,欢迎来到外链网!
当前位置:外链网 » 站长资讯 » 专业问答 » 文章详细 订阅RssFeed

html网页中强制换行的标签,在html中不会自动进行换行的标签是

来源:互联网 浏览:109次 时间:2023-04-08

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