英文自动换行(兼容ie,opera,firefox)
If you want to resell products from HongKong companies like TinyDeal in small quantities, you have to deal with multiple
span{
white-space: pre; /* CSS2 */
white-space: -moz-pre-wrap; /* Mozilla */
white-space: -hp-pre-wrap; /* HP printers */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: pre-wrap; /* CSS 2.1 */
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
word-wrap: break-word; /* IE */
}
查看完整版本: 英文自动换行(兼容ie,opera,firefox)
Tags: