|
|
|
Revised theme now live...
Ah thank you.
Is there a preference setting to prevent horizontal triggering (aka wrap)? - Rick
Enable/disable 'wrap'?
robg would need to answer that as I don't know anything about Geeklog. AFAIK we users can't disable it once a previous post has caused it with a long line containing no spaces or just non-breaking spaces. I would be pleased if we could - it's a nuisance on all sites when it happens.
Andreas
But...
robg would need to answer that as I don't know anything about Geeklog.
AFAIK we users can't disable it once a previous post has caused it with a long line containing no spaces or just non-breaking spaces. I would be pleased if we could - it's a nuisance on all sites when it happens. We can, though, be kind to others by doing this! Andreas
Revised theme now live...
Should have this added to the MacOSXHints [pre] tag styles CSS:
pre {
overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
---
Revised theme now live...
The problem isn't the pre code -- well, yes, that's a problem as well. However, if you look at what caused the screen to grow horizontally in this thread, it's a long line of JavaScript *plain text*. However, there aren't any spaces in the JavaScript, so the browser can't figure out where to break it.
I'm not aware of any CSS to handle wrapping of indeterminate-length pure text strings -- but if such a thing exists, please post it! regards, -rob. |
SearchFrom our Sponsor...What's New:HintsNo new hintsComments last 2 days
Links last 2 weeksNo recent new linksWhat's New in the Forums?
The Editor's Corner...Here are some of my (robg) other projects...
Hints by TopicNews from Macworld
The macosxhints PollWhat version of OS X are you running as your main OS?
Other polls | 11,517 votes | 42 comments
|
|
Copyright © 2009 Mac Publishing LLC (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 0.04 seconds |
|