Forums

<br style="clear: both;" /> only available for superadmins? (4 posts)

  1. pbb
    Member
    Posted 10 months ago #

    I have seen several post with instructions to use <br style="clear: both;" /> when trying to force text underneath floated images. One page that talks about this is http://codex.wordpress.org/Wrapping_Text_Around_Images

    However, I now discover that this only seems to work when I have "superadmin" rights. With lower privileges, even as a normal admin for a blog, whenever I write <br style="clear: both;" /> in a post, it is automatically replaced with <br />.

    Am I doing something wrong?

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 9 months ago #

    Don't bump.

    That page is suggesting you do some invalid HTML, but yes, there are greater restrictions on non-admins than admins in MultiSite. The problem is more how TinyMCE parses these things, though.

    You may want to try http://wordpress.org/extend/plugins/tinymce-advanced/

  3. pbb
    Member
    Posted 9 months ago #

    At least because of bumping, I now got a reply :)

    Thanks for confirming my problem and pointing me in the right direction for a solution! I will start to investigate alternative editors.

    By the way, I don't see any invalid HTML among the suggestions from that page. At least <br style="clear: both;" /> is perfectly valid.

  4. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 9 months ago #

    No, you got a reply cause someone reported your bump to a mod, which is bad behavior. Hint hint. Also I deleted the bump.

    The BR is valid HTML, but it's invalid (or rather poor form) to use it to style formatting.

Reply

You must log in to post.

About this Topic