• I can’t format text properly in either the Visual or Code editor screens. Returns aren’t being recognized leaving me with one long paragraph of text.

    Suggestions? I write from my admin section instead of copying and pasting from TextEdit.

    Site is http://easyandelegantlife.com

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • if you want to use your own code – do not switch between Code and Visual. At saving it it is always the Visual that is in effect and screwing up your formatting.
    Turn it off > Users > My profile.

    I have a similar problem, but mine is in relation to creating pages. Such as if I insert :

    /* Correct code snippet
    —————————*/
    <div id=”contactright”>
    <img alt=”image.jpg” src=”image.jpg” height=”133″ width=”200″>
    <p>
    <b>T:</b> Phone Number
    </p>
    <img alt=”image2.jpg” src=”image2.jpg” height=”133″ width=”200″>
    <p>
    <b>T:</b> Phone Number
    </p>

    It adds an additional random <p> to my img tag when I create the page.
    It will do something like this :

    /* incorrect code snippet
    —————————*/
    <div id=”contactright”>
    <img alt=”image.jpg” src=”image.jpg” height=”133″ width=”200″>
    <p>
    <b>T:</b> Phone Number
    </p>
    <p><img alt=”image2.jpg” src=”image2.jpg” height=”133″ width=”200″></p>
    <p>
    <b>T:</b> Phone Number
    </p>

    trying to see if there is another way to fixing this other than tricking it by putting a <div id=”blank”> before image2 starts.

    –> Forgot to mention that I have disabled the visual editor.

    So even though you’ve got Visual Editor disabled, WP is surrounding your standalone img tag with a p tag?

    -dhbarr.

    Thread Starter theelegantologist

    (@theelegantologist)

    Thank you for your help moshu. That worked fine, although I would like to use the visual editor as well. I’m not exactly a code savvy guy.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Formatting Lost on New Posts’ is closed to new replies.