Automatic Hyphenation?

  • Author
    Posts
  • #482994

    cindyinsd
    Member

    This is probably like having your cake and eating it too, but is there any way to set up a fully justified blog post so that the reader’s browser will insert hyphens at need? I dislike it when a line of text has big spaces in it, but if I put hyphens in, other people will have different text sizes set, different screen size, etc, and the end result for them is going to look wrong. Any idea how to resolve this? The particular post I’m experimenting with is: http://cindyinsd.wordpress.com/2010/05/01/walking-on-water-3/?preview=true&preview_id=835&preview_nonce=1c979a4f08 . Thanks so much for any help.

    Cindy

    The blog I need help with is cindyinsd.wordpress.com.

    #483195

    cindyinsd
    Member

    Oops! That was the preview . . . here’s the post: http://cindyinsd.wordpress.com/2010/05/01/walking-on-water-3/

    #483218

    timethief
    Member

    This is probably like having your cake and eating it too, but is there any way to set up a fully justified blog post so that the reader’s browser will insert hyphens at need?

    Answer: No.
    Advice: Do not mess with URLs. The software supplies them in the correct XHTML format.

    #483222

    /nod to TT

    WordPress would have to do the hyphenation, and that is not built into this system. From my experience with copywriting and graphics design, we always kept hyphenation to a bare minimum and would generally work to force all hyphenated words to the next line. We also stayed away from fully-justified text since it is harder for people to read (even though page layout programs deal with fully justified text very well).

    The web simply does not have that level of sophistication at this time, which is why I absolutely never fully-justify text on the web.

    #483224

    timethief
    Member

    @TSP
    Well said .. bookmarking. :)

    #483229

    1tess
    Moderator Emeritus

    I’m not sure, but a table or div might allow you to control how your justified text is viewed.

    Maybe you could control how your text is viewed. I only have access to macs, almost all alike, and using only safari and firefox, so I’m not sure. Some others may know.

    <table border="0" cellspacing="0" cellpadding="0" width="200px" align="center">
    <tbody>
    <tr>
    <td style="text-align:justify;">TEXT</td>
    </tr>
    </tbody>
    <tbody></tbody>
    </table>

    or:

    <div class="aligncenter" style="width:300px;text-align:justify;">TEXT</div>

    Adjust the width to whatever px you want. On MistyLook, max=500px

    http://www.lipsum.com/feed/html

    As I said, though, I don’t know if this would be useful. Not much experience with justified text on the internets…

The topic ‘Automatic Hyphenation?’ is closed to new replies.