[geeklog-devel] Handling of exceptionally long lines that break thevisual flow of the page

Dirk Haun dirk at haun-online.de
Sat Mar 8 04:19:33 EST 2008


Blank, Jessica wrote:

>I didn't receive any responses to this post from yesterday; I'd be
>curious to know if any sort of protection against users breaking the
>site layout by posting very long non-breaking lines has been implemented
>since 1.3.7sr1. :)

There is no protection against that. The last time I thought about it (a
long time ago), I couldn't come up with a solution that would work
without knowing how wide the available area actually is.

That was back when CSS support in browsers was still unreliable. There
may be better ways now, e.g. something based on overflow-x.

The other alternative would be to introduce an arbitrary but
configurable max. word length.

bye, Dirk


-- 
http://www.geeklog.net/
http://geeklog.info/




More information about the geeklog-devel mailing list