<tbody> <tr> <td width="100" ><div style="width:300px;">sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss</div></td> </tr> </tbody>
在td里面设置了宽度后。然后在div里面继续设置宽度。但是div的宽度一旦比td的宽度宽就会错位。
如何在div里面设置宽度后 不受td宽度的限制
回复讨论(解决方案)
没有太明白你的意思,是不是想将超出td范围的隐藏起来?
over-flow:hidden;
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn