I\'m trying to stop a table that has width explicitly declared from overflowing outside of its parent div. I presume I can do this in some way using max-w
div
max-w
You may try this CSS. I have experienced it working always.
div { border-style: solid; padding: 5px; } table { width: 100%; word-break: break-all; border-style: solid; }
Col 1 Col 2 Col 3 Col 4 Col 5 data 1 data 2 data 3 data 4 data 5 0 讨论(0) 查看其它9个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题