J-Novel Club
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users

    found css error

    Suggestions & Feedback
    4
    6
    2273
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TooFiveFive
      TooFiveFive Member last edited by

      When a word is too long for a line, it goes off the side instead of being split up onto the next line.
      http://prntscr.com/fik4cc

      Sam Pinansky 1 Reply Last reply Reply Quote 1
      • Sam Pinansky
        Sam Pinansky Translators @TooFiveFive last edited by

        @TooFiveFive Yeah, we just use CSS columns for the web reader, so if the browser doesn't split up words we don't.

        The only way to fix this would be to program a full-blown hyphenation engine, which by that point we should probably integrate a full-blown epub3 reader (or purchase the license to one).

        _ 1 Reply Last reply Reply Quote 0
        • _
          _08 @Sam Pinansky last edited by

          @Sam-Pinansky said:

          The only way to fix this would be to program a full-blown hyphenation engine

          ...Or use overflow-wrap css property

          J 1 Reply Last reply Reply Quote 0
          • J
            Jaquobus Premium Member @_08 last edited by

            @_08 Probably best to combine it with hyphens:auto, because hyphenated text is better than a break in a word.

            You can't spell Keikaku without Kei – Vote for Sagrada Reset!

            _ 1 Reply Last reply Reply Quote 0
            • _
              _08 @Jaquobus last edited by

              @Jaquobus
              Overflow-wrap will only break super-long words, it happens like couple of times in an odd chapter once a month and it's more or less obvious that it is a single word even without hyphenation. Enabling hyphens:auto, however, causes awkward hyphenation very frequently with a regular words.

              1 Reply Last reply Reply Quote 0
              • Sam Pinansky
                Sam Pinansky Translators last edited by

                Hmm, will try it, then!

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post