Home
Web Front-end
HTML Tutorial
TD width problem when TD cells are merged_HTML/Xhtml_Web page production



TD width problem when TD cells are merged_HTML/Xhtml_Web page production
In the example below, when the width of the td where the name is located is 60px, if there is less text in the second line, the display will be normal. If there is more text in the second line, the display will be abnormal
Copy code
The code is as follows:< ;head>
< ;style type="text/css">
.mTable{width:200px;border:1px solid #666;border-collapse:collapse}
.mTable td{border:1px solid #666}
Name: | Someone |
Personal profile |
Name: | Someone |
Personal profilePersonal profilePersonal profile td> |