Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter wouwou

    (@wouwou)

    Small bump.. been at this problem for days. 🙁

    Maybe if you made what the problem is a bit clearer? From what I see, whatever you’re typing into your editor is what shows up on the site. What do you mean by “spacing”…do you mean the line breaks? That’s because WordPress inserts P tags when you start a new paragraph (which is what it *should* do).

    I don’t understand what the problem is, exactly.

    Thread Starter wouwou

    (@wouwou)

    Well I can’t post lines directly after eachotter.
    Like this:

    Sentence 1
    Sentence 2

    instead (as you see on the screen) its

    Sentence 1

    Sentence 2

    As you set in word that after a alinea/sentence/whatever you have 12pt space.

    Thread Starter wouwou

    (@wouwou)

    And I want to write a paragrah like this

    Adress
    Street Number
    City

    But I would get

    Adress

    Street Number

    City

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Press SHIFT+ENTER at the end of each line to not start a new paragraph.

    Ahh..I see.

    Well, you could do what Otto says. Anotehr option (I like giving options!) would be to turn off the editor and assign a class to certain paragraphs. So your paragraph could stay as it is for regular blocks of text (with a nice space between paragraphs), but for stuff like the example above, you could put in a class that would remove the space between them.

    For example:

    <p class="single">Address</p>
    <p class="single">Street Number</p>
    <p class="single">City</p>

    and then in your CSS:

    p.single {
    line-height:1em;
    padding:0;
    margin:0;
    }

    Of course, after reviewing all of that, Otto’s thing seems much simpler 😉

    You can also click the “view html” button from the editor and add a single carriage return by adding in the <br /> tag.

    Thats what I do… it’s quick and easy.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Spacing p:’ is closed to new replies.