css - 文本未环绕在 div 元素内

标签 css word-wrap htmltext

我遇到了一个以前从未发生过的问题,而且看起来确实是前所未有的,有些文本没有包裹在 div 中。

此链接是我的 html 代码示例:

http://jsfiddle.net/NDND2/2/

<div id="calendar_container">
   <div id="events_container">  
      <div class="event_block">
         <div class="title">
            lorem ipsum lorem ipsumlorem ipsumlorem ipsumlorem
         </div>
      </div>
   </div>
</div>

有什么帮助吗??

最佳答案

我发现这有助于我的话语在 WooThemes Testimonial 插件中中断。

.testimonials-text {
    white-space: normal;
}

在这里玩一下 http://nortronics.com.au/recomendations/

<blockquote class="testimonials-text" itemprop="reviewBody">

<a href="http://www.jacobs.com/" class="avatar-link">

<img width="100" height="100" src="http://nortronics.com.au/wp-content/uploads/2015/11/SKM-100x100.jpg" class="avatar wp-post-image" alt="SKM Sinclair Knight Merz">

</a>
<p>Tim continues to provide high-level technical applications advice and support for a very challenging IP video application. He has shown he will go the extra mile to ensure all avenues are explored to identify an innovative and practical solution.<br>Tim manages to do this with a very helpful and professional attitude which is much appreciated.
</p>
</blockquote>

关于css - 文本未环绕在 div 元素内,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23763482/

相关文章:

css - 具有一个最大宽度列的流体列

css - 如何并排正确包装输入文本和按钮元素?

WPF 文本框包装

actionscript-3 - htmlText 不显示粗体或斜体字体

xml - 使用 htmlText 嵌入 AS3 字体

javascript - Tumblr js 输出 MIME 类型错误

javascript - 单击另一个文本时突出显示一个文本

html - 在侧边栏上,如何使二级菜单在一级菜单旁边打开?

vim - 如何在Vim中显示垂直线以换行?

css - 不换行到下一行的固定宽度 div 内的链接