Yeah, this is a known issues with almost any kind of HTML element.
The problem is caused by the fact that the browser cannot determine where to break a sentence, as they are no spaces in the text.
First of all: Is this a real issue? I have tried to tackle this problem before, only to realize that my users are able to come up with more sensible content that I, as a developer, tried to create. wwwwwww,wwwww,wwwww,wwwwwwwwwwwwwwwwwwwwwwwwwwwwww wwwwwww,wwwwwwww,wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwwwwwww is something you don't see that often as real content ;)
I think the best (only??) way to overcome this is to have the element that holds your content is set to create scrollbars when necessary.
You can do this with use the Css property overflow, as in the next example:
Code:
<html>
<head>
</head>
<body>
<div style="width:200px;border: 1px solid black;overflow: scroll">
wwwww,wwwww,wwwww,wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww,wwwwwwww,wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
</div>
</body>
</html>
For more info:
http://www.w3schools.com/css/pr_pos_overflow.asp
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
Too Much Brandy by
The Streets (Track 8 from the album:
Original Pirate Material)
What's This?