If the table is wider, it may overflow.
For example, there are two divs, left and right. If the table is in the div on the right, but it is wider, it is likely that the div on the right is not displayed when it is displayed, but is displayed below. At this time, you only need to specify the width of the table: