博客:标题为非汉字类型显示超出边框已改,弊端是如果是英文单词会自动断开

This commit is contained in:
Linda 2017-01-19 11:05:12 +08:00
parent ea9bdb8ee6
commit eaaaaa2b79
1 changed files with 2 additions and 2 deletions

View File

@ -81,8 +81,8 @@
</ul> </ul>
</div> </div>
<%end%> <%end%>
<div class="postDetailTitle fl"> <div class=" fl " style="font-size:14px;font-weight: bold; color:#333; max-width:600px;margin-bottom: 15px;word-break:break-all; word-wrap:break-word;">
<a href="javascript:void(0);" class="f14 linkGrey4 fb" style="overflow:hidden;">主题: <%= @article.title%></a> <p> <%= @article.title%></p>
</div> </div>
<div class="cl"></div> <div class="cl"></div>