Today has experienced the disgusting page dislocation phenomenon, the reason is very simple, when the page output Chinese characters, if the area width is not enough, will automatically wrap, however, the English letter cannot, that is, you output resembles "aaaaaaaaaaaa" the string character, the page thinks this is a word, cannot break, if in the output, And this area is only 3 characters wide, then the page will be mangled. If you change to "AAA AAA AAA AAA" You can, because the page sees them as four words, it will be able to change the line.
If you want to force a line break in the CSS design just add word-wrap:break-word;/* Force line */CAN
#test {
......;
......;
word-wrap:break-word;/* forced Line-breaking * *
}
http://www.bkjia.com/PHPjc/477938.html www.bkjia.com true http://www.bkjia.com/PHPjc/477938.html techarticle today has experienced the disgusting page dislocation phenomenon, the reason is very simple, when the page output Chinese characters, if the area width is not enough, will automatically wrap, however, the English letter can not, namely ...