• Resolved tim9021

    (@tim9021)


    I use a css class to format a div that contains a story excerpt. The first paragraph is properly formated with very little space between sentences; however, the second paragraph has more space between sentences (equal to another line of text) that looks like the standard wordpress formatting for posts.
    Does anyone have an idea as to why this is happening?
    Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator James Huff

    (@macmanx)

    It’s using justified-alignment, similar to a word processor. Basically, it adds spaces to spread the words out so the end of the lines of text fit exactly linear on the page. The idea is, you start off with left-alignment (like this forum) and write a line until the last word is too big and drops down to the next. Then, spaces are added to bring that line out to the margin. It gives everything a clean-cut look, unless you use a lot of big words. I’m not sure how to change it though.

    Thread Starter tim9021

    (@tim9021)

    Why would this apply to the second paragraph and not the first?
    Thanks again.

    Without a link to see the problem in action, it’s hard to diagnose.

    Thread Starter tim9021

    (@tim9021)

    here’s a brief example:
    http://www.opinionbug.com/index.php?p=95
    I noticed that wordpress 1.2 doesn’t put the first paragraph with ” tags, the second paragraph does have them. The paragraphs have two different sets of formatting apparently.

    Thread Starter tim9021

    (@tim9021)

    I didn’t do the code thing right, sorry: I believe this is right:
    tag

    Thread Starter tim9021

    (@tim9021)

    hmm, wordpress is putting those in. I don’t insert paragraph tags.
    If I do, would that correct the problem?

    No…it wouldn’t.
    If you are consistent with how you enter text when using your ‘storyinsert’ (or blockquote), then you shouldn’t see any problems.
    It’s always best to hit the Enter key when using such tags.

    Thread Starter tim9021

    (@tim9021)

    I tried your example on my test system and it didn’t have an effect.
    The first paragraph doesn’t have paragraph tags.
    The second paragraph does have paragraph tags and gets different formatting.
    Any other ideas? Thanks for helping.

    Thread Starter tim9021

    (@tim9021)

    correction: it does have the one invalid paragraph tag that you pointed out even after the suggested change.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘space between sentences’ is closed to new replies.