css - 子 Div 打破其父 Div

标签 css twitter-bootstrap css-float

我花了几个小时试图防止我的一个子 div 破坏其父 div。

链接:http://bowenhost.com/wordpress/

截图:enter image description here

这是 Saddads 小部件/div 不断损坏。

请随意检查您的网络浏览器上的 element/firebug 以找到解决方案。

提前谢谢大家。我真的很感激!

最佳答案

内容中没有空格。因此它被视为单个单词。给出一些单词之间有空格的句子并检查

如果你想打破没有空格的单词,你可以使用css3的自动换行

.textwidget {
    word-wrap: break-word;
    }

关于css - 子 Div 打破其父 Div,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17647041/

相关文章:

css - 子div不占父div的高度

javascript - 将 Div 设置为占用父级的剩余高度,其中的 sibling 有 float 的子级

jquery - 动态 <li> 没有响应

html - 如何在div后面插入图片

iOS 上出现的 CSS 背景线

javascript - 导航栏提前折叠并定位我的图像 slider

html - Bootstrap 红色列表文本不起作用

javascript - 奇怪的div高度错误: webkit or jQuery bug?

javascript - 使用 event.className 更改 ui-calendar 的事件颜色

html - nth-child 与 last-of-type 冲突?