Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 9

CurtisOdenTodddoncsaulericgillette +5 guests

SoftWrap

This discussion is related to the SoftWrap addon.
SoftWrap

Comments

  • Uploaded version 1.0.3 of SoftWrap.
  • Posts: 2,419
    Great idea [-Stash-],
    Could the same effect be achieved by simply adding this extension's CSS styles to the vanilla.css file?

    Posted: Thursday, 22 March 2007 at 2:12PM (AEDT)

  • Posts: 2,610
    Sure could, just copy the contents of the CSS file in total and bung it at the end of vanilla.css, but the reason I made this an extension was so I didn't have to worry about it when upgrading the core files.
  • Posts: 2,419
    Fair enough I guess, although I already have a heap of extra CSS definitions in my vanilla.css file which I keep track of religiously.

    Actually, SoftWrap would be a cool addition here on this forum!

    While I think of it, could it be set up so it does not break words when it turns over a line?

    That's a bit annoying, it should break based on spaces don't you think?

    Posted: Thursday, 22 March 2007 at 5:34PM (AEDT)

  • Posts: 2,610
    IE breaks the lines, moz doesn't...
  • Posts: 2,419
    Safari breaks lines mid-word too, Firefox does not.

    Posted: Thursday, 22 March 2007 at 8:38PM (AEDT)

  • Posts: 2,610
    Thanks, nice to know (still haven't hooked the Mac Mini up to the WiFi router...). I don't suppose you'd mind removing the following, one at a time, and see if that stops the mid-word breaks, then report back would you?white-space:pre-line;/* CSS 3 (and 2.1) */and thenword-wrap:break-word;/* IE */Thanks :)
  • Posts: 2,419
    Removed this, no change...
    white-space:pre-line;/* CSS 3 (and 2.1) */

    Removed this, it broke, the whole sentence stopped wrapping.
    word-wrap:break-word;/* IE */

    Posted: Friday, 23 March 2007 at

  • Posts: 4,883
    When this is fixed for all browsers, I'll add it to the core :)
  • Uploaded version v5 of SoftWrap.
  • Posts: 2,610
    OK, I've fixed the css for IE4, 5, 5.5, 6, 7, Safari 3 (win), Opera 9 and Firefox 3. These all work perfectly (including long word-breaking). Firefox 1, 1.5 and 2 do not appear to support word-breaking and so could only be fixed with a bit of JS I guess... If someone knows otherwise, please let me know and I'll update accordingly.
This discussion has been closed.