David Dorward wrote:

> In my
> experience, most people wanting to use break-word are trying to get
> user generated content to not flow out of their design.

Mine too.

> In that case,
> the solution I'd suggest is better sanity checking of the data coming
> from the user

Agreed, but I count preprocessing as sanity checking.

> ("Sorry, words containing over 30 characters are not
> allowed").

Words containing more than 30 characters are often needed in many languages, 
like Finnish, Eskimo, and German. Even English has some fairly long words at 
times, and excluding them is not wise in general. Moreover, many languages 
don't use spaces between words, so the technical concept of "word" (a 
sequence of non-whitespace characters surrounded by whitespace or start or 
end of string) often results in very long words.

There is no good solution, and really nothing in CSS you could do for _word_ 
breaks (as opposite to brutal string breaks via nonstandard CSS). This is 
something that CSS _should_ address (hyphenation is really a presentational 
issue and could well be addressed in CSS at least at the level of "hyphenate 
if you can" vs. "don't hyphenate") but currently doesn't.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to