Multiple line breaks

  • Author
    Posts
  • #9734

    fairest
    Member

    I am having problems getting more line breaks, no matter what I do. I’ve tried entering the <br><br> tag in the HTML editor, but this doesn’t work. Also hitting return 5 times in the rich editor doesn’t work, it bring it back to one line break. I need five or six lines break between each sentence, and I’m having a hard time making this happen. Any help would be appreciated.

    #9986

    cornell
    Member

    I don’t know the answer (I’m sorry!) but can I just ask why you want five or six lines between each sentence?

    Thanks!

    #9999

    drmike
    Member

    Turn off the rich text editor. TinyMCE is probably stripping it out on you. You may also want to be using <br /> instead of <br>. IIRC, HTML 4.01 prefers the trailing ‘/’ mark.

    Good luck,
    -drmike

    #10014

    fairest
    Member

    drmike I’ve been trying that and I’ll keep trying. It wasn’t something I was expected to be difficult on wp, but I’m liking wp in general.

    cornell — good question!

    #10020

    drmike
    Member

    Which method are you trying? I suggested two things. :)

    Can we see an example of what you are doing?

    Thanks,
    -drmike

    #10024

    fairest
    Member

    well, for example, when I do this

    I am trying

    To skip lines

    when I either 1) turn off the Rich Text Editor or 2) hit the HTML icon while in the RTE it doesn’t work. What it in fact does (if I do #2) is erase the
    tags after I hit save.

    #10025

    fairest
    Member

    damm the post got rid of my html… what I put was
    five times.

    #10026

    fairest
    Member

    I’m trying to put < b r / >

    #10029

    podz
    Member

    If you use
    <br />
    <br />
    <br />
    <br />

    WP will strip the additional <br /> back to one.

    Add a non-break space. WP then thinks there is content so allows the spacing:

    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />
    &nbsp;<br />

    will make a long gap.

    (And I bet this does not show up correctly first time…)
    wow.. it did! :)

    #10105

    fairest
    Member

    podz, you rock, that works. And as it often happens, I sorta figured it out on my own before looking back here, but thanks. the miracles of &n b s p are plentiful.

    #10389

    kitanaor
    Member

    THANK YOU!!! I was tearing out my hair looking for breaks that would not get stripped out. I needed them between each section of an entry.

    #10427

    kaivata
    Member

    I am having the same issue…. I can’t for the life of me get a line break to work, no matter what combination of <p> <br> <br /> &nbsp; etc. I try to use.

    I am trying to do this on a page, rather than a post.

    drmike: you mentioned turning of the editor? Can you advise how to do this?

    Thanks.

    #10428

    cornell
    Member

    Go to your dashboard -> Users -> Your Profile.

    Scroll down and at the bottom there is a tickbox that says “use the visual rich editor when writing”. Untick it and save.

    HTH

    Collin

The topic ‘Multiple line breaks’ is closed to new replies.