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

Blank, Jessica Jessica.Blank at mtvnmix.com
Fri Mar 7 19:08:14 EST 2008


Actually, I apologise; it makes more sense to set 'overflow-x' to 'auto' rather than 'scroll', so it does not present (useless and greyed out) scrollbars where no overflow would occur.

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. :)

--Jessica

-----Original Message-----
From: geeklog-devel-bounces at lists.geeklog.net on behalf of Blank, Jessica
Sent: Thu 3/6/2008 6:33 PM
To: geeklog-devel at lists.geeklog.net
Subject: [geeklog-devel] Handling of exceptionally long lines that break thevisual flow of the page
 
Hello all:

I have run into an interesting problem. For whatever reason (and I have noooooooooo clue why), some of our posts have been infiltrated with a huge number of non-breaking spaces ( s). So many, in fact, that they completely break the layout of the page.

Has any mechanism been put in place between 1.3.7sr1 and the current CVS build that prevents people from breaking the page by posting:

            (etc.)

...and therefore stretching the div that contains the story so wide that it breaks the layout completely?

If not, I have a suggested mechanism, one that works fine for me:

In the style.css file for each theme, add:

  overflow-x:scroll;

...to the .story-body class.

That's it!

Any thoughts?

--Jessica

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist8.pair.net/pipermail/geeklog-devel/attachments/20080307/29ac078a/attachment.html>


More information about the geeklog-devel mailing list