Post disappears if I input <br clear="left"/> (4 posts)

  1. nshin2142
    Posted 7 years ago #

    I have an issue with text wrapping around the image and when I tried inputting:
    <br clear="left/>

    to prevent the text from wrapping, my page disappears. However, if I delete that code, the page works fine except I still have the wrapping issue.

    Any help would be appreciated.

  2. stvwlf
    Posted 7 years ago #

    1) that is not the right code
    it should be <br style="clear:left;" />

    2) WP is liable to strip it out anyway as the visual editor strips out certain HTML code. You are probably better off using something like <div style="padding-bottom: 10px; clear:left;" </div> which the visual editor should not change.

  3. radial
    Posted 7 years ago #

    this is stripped out also.

    at the bottom of http://codex.wordpress.org/Wrapping_Text_Around_Images
    it says you should use
    <div style="clear:both;"></div>

    But this is stripped out as well.

    What's the proper way to do this?

  4. radial
    Posted 7 years ago #

    Resolved - I installed the TinyMCE Advanced Plugin. Set it to not remove the <p> and
    tags, and then used the code from stvwlf above. Switching to the visual editor does not remove the code. yay my god this was driving me crazzzzy

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.