英文长字符串自动换行问题,兼容IE Firefox chrome
<style type="text/css"> <!-- /* 自动换行 */ .atuo_break_line { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; /* 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+ */ } --> </style> <div class='atuo_break_line' style='width:780px'>xxxxxxxxx</div>
相关推荐
echosilly 2020-09-17
WebVincent 2020-05-04
爱好HtmlCssJs 2019-11-01
cshao 2019-04-26
srchange 2019-08-19
少年阿涛 2019-07-01
startXUEBA 2016-08-08
陈浩 2019-06-27
陈浩 2014-03-04
liusure0 2013-10-13
hhhkhhh 2012-11-29
红壶吃猬队 2019-06-20
niehanmin 2011-11-16
htmlgood 2011-10-12
happyzhangyin 2011-10-10
帅的相对论 2011-08-18
shanhuijava 2011-05-16
startXUEBA 2011-03-03