• Hi guys ^^

    I have the following problem: When I add a hard return in my post when I want to start a new paragraph, I don’t get that much white space as I want.. Even when I add soft returns I get the same result.

    I tried the “Dean’s FCKEditor” but I get the same results.

    Does anyone have any suggestions how I can change this or something?

    cheers

    edit:
    Okay now I figured that, when I put a hard return, I end the <p> paragraph and start a new one. How can I edit it that I get more space between the paragraphs?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try changing the padding in this section of your style.css :

    P
    {
    	padding: 4px;
    }

    It’s not very pretty, but I make spacers as such: in your post or page, put
    <p class=”spacer” /> (or spacer2 or spacer3) after a paragraph, and in your style.css:

    .spacer
    {
    margin: 10px 0 0 0px;
    }
    
    .spacer2
    {
    margin: 20px 0 0 0;
    }
    
    .spacer3
    {
    margin: 30px 0 0 0;
    }

    Why not just give your post paragraphs a bottom margin?

    <p class="spacer" />

    You don’t need to do this with elements that have a closing tag, it’s invalid..

    Valid tags to self close:

    <img />
    <br />
    <hr />

    ..and so on… but not with elements that have their own closing tag, <p>, <span>, <div> etc…

    Thread Starter advmedia

    (@advmedia)

    thank you very much all, how stupid not to think of this myself :’)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘question about paragraphs and ‘returns’ in the post’ is closed to new replies.