开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜