FAQ summary table layout

table practical attributes:

Attributes value effect description
table-layout auto Automatically calculates the column width

On the table, and TD, TH specified width is not valid

The browser will calculate all the contents of the cell width in order to obtain a width

(Defaults)

fixed Manually set the column width

= Table column width Width / Number of grid cells:

  1, only the specified width table

  2, and the sum is smaller than the cell width table width

Column width = width of the cell:

  1, the cell width is greater than the sum of the table width

  2, the cell width is set to a percentage

word-break break-all Inside the cell wrap To ensure that data is not tumbled stretch the width of the table, a point on the new line

 

 

Guess you like

Origin www.cnblogs.com/ZbsCc/p/11989510.html