本文介绍了Word Wrap无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想要找出为什么这个单词包不能正常工作在这个页面上的div类: .gce-page-list
看起来主题已添加了pre和code 标记,如果我删除pre标记一切正常,但我需要一个CSS修复,使单词包装正常工作,我不能想出这一点!
解决方案
将此样式添加到您的样式表中:
pre,code {white-space:pre-wrap; }
I'm trying to figure out why the word wrap is not working properly on this page for the div class:
.gce-page-list
http://metaphysicalerotica.com/events/
It looks like the theme has added a "pre" and "code" tag and if I delete the "pre" tag everything works fine, however I need a CSS fix to make the word-wrap work properly and I can't figure this out! I have tried everything I can think of, any advice would be great!
解决方案
Add this style to your style sheet:
pre, code{ white-space: pre-wrap; }
这篇关于Word Wrap无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!