As the table content is automatically fit the width

td { white-space: nowrap; }

 

Td attribute to add to it, if you can have th td, th

 

This article comes from: https://blog.csdn.net/liuhongwei_study/article/details/41682479

Be recorded left to spare.

Guess you like

Origin www.cnblogs.com/hkzw/p/11956507.html