Master, look at the picture: How to make this table? I don’t want to use a background image to make it. How to make it with a table or a div? My question is: when the width of a column in the previous row will affect the width of the next column, it’s a headache. .
Design it in Excel or Word and save it as html. Then you can adjust it quickly.
When the width of a column in the previous row will affect the width of the next column
=> You can set it to automatic or ss Write to determine how much exceeds the bandwidth and then use width:auto like this
When your width After setting, the height is auto, and the height will usually be automatically filled
You can divide an extra cell in all unaligned places, and then there is the problem of merging cells
What does automatic mean? Why can't I grasp the meaning of auto? Can anyone give a vivid description?
What the above means is that your width is set. The height of the cell will be stretched vertically according to your content. So I set it to auto