Containing very long text inside div
Okay so I have problem containing text inside div. When it's broken down with spaces, it will move to the next line but if there is开发者_运维问答 1 very long line of text, it won't move to the next line. Can someone help me with the css for this?
You might try this CSS:
word-wrap: break-word;
or this on the containing element:
overflow: hidden;
or
overflow: auto;
Also you can use:
word-break: break-all;
精彩评论