Bootstrap响应表对文本的响应不够

时间:2014-10-07 15:06:46

标签: html css twitter-bootstrap

我已尝试拍摄一段搜索结果,如下所示: http://jsfiddle.net/7n6tgbht/

问题在于,如果您最小化窗口,结果会开始缩小,但随后它会到达一个点并重叠表格。知道为什么会这样吗?

使用标准表:

<table class="table table-responsive ">
....
</table>

所以这里通常是表格,

Here is the table normally

And here is the table breaking

1 个答案:

答案 0 :(得分:4)

如果您正在寻找一个简单的解决方案,只需将其添加到您的CSS

table td {
    word-break: break-word;
}

当表格不再缩放时,这将使你的所有行都换行