Your table Width What went wrong?

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/u013560932/article/details/72717060

Your Table Width What went wrong?
Why Your Table width breakthrough in the sky?
Why even overflow: hidden can stop your table infinitely extended backwards?
Why Even max-width can not stop it extends infinitely beyond the back page of thousands of px?
Because it's pit ah.
We guarantee that if you do not know this pit, even if you bring your table in the th and td width plus all restrictions, or whether it is the percentage of pixels, your table width not have the slightest improvement.
You want to know why it?
Click http://blog.csdn.net/cddcj/article/details/52302819 know immediately.
Or your knowledge is very poor, do not understand the connection, you can also choose not to use the table, ever give up the front, to the back end, I wish Ann, goodbye.

So: Set table-layout in the table style in: fixed
because the default automatic table-cell width is content of the decision, IE and FF to comply with this rendering, we put him into a fixed, table width and column width of the column width setting given enough. In React, this property is declared as tableLayout.

Guess you like

Origin blog.csdn.net/u013560932/article/details/72717060