pre 和 code标签 过长 xxxxx xxxxx xxx文字过长都会有飞出浏览器的问题,不折行 从网上搜了个解决方案出来, pre, code { white-space: pre-wrap; /\* css-3 _/ white-space: -moz-pre-wrap !important; /_ Mozilla, since 1999 _/ white-space: -pre-wrap; /_ Opera 4-6 _/ white-space: -o-pre-wrap; /_ Opera 7 _/ word-wrap: break-word; /_ Internet Explorer 5.5+ */ } 不过加上去,看着不和谐。。。
Activity