Reputation: 5527
I have a DIV container I'm using as a comment box. I want to make sure that text doesn't overflow the DIV container, and instead will wrap a long word. What's the easiest way to do this with CSS and PHP?
Upvotes: 0
Views: 1005
Reputation: 1120
define white-space:normal;
as css property to div
to fit text in box and to break word is word-wrap:break-word;
Upvotes: 0