The MU forums have moved to WordPress.org

HTML Editor Not Working (6 posts)

  1. TheGeek101
    Member
    Posted 15 years ago #

    I recently installed WordpressMU over my Wordpress install.
    The HTML editor is currently not working properly.
    When I try to center a image, or text with the
    <center>TEXT/IMAGE</center>
    markup the code is removed after publish/update is made to the post.

  2. tdjcbe
    Member
    Posted 15 years ago #

    The center tag was deprecated awhile ago. ('99?) The editor is removing it as most wordpress sites work in either xhtml or html 4.01 and neither use the center tag. While the center tag is still supported by most browsers, it;s not correct. A better solution would be to use div's and align="center" within the div.

    Reference:

    http://www.w3schools.com/TAGS/tag_center.asp

    edit: Actually that says it won't work at all in xhtml.

    http://www.frontpagewebmaster.com/m-90322/tm.htm

    Also: http://codex.wordpress.org/Wrapping_Text_Around_Images

    Hope this helps

  3. TheGeek101
    Member
    Posted 15 years ago #

    Thank you for the information.
    I prefer to use the center tag because it doesn't create unwanted space between content. With the div or p align tags there is a unwanted gap between the image and the text. Plus that add a more typing when posting from a PDA

    Again, thank you.
    I guess I'll just have to learn to deal with the space, or find a way to work around it, using the padding or margin tags.

  4. tdjcbe
    Member
    Posted 15 years ago #

    On iPhone
    excuse shortness
    post example link please
    maybe modify css to fix?

    Edit: other problem center tag will fail XML/rss validation. Feed reader problems problely.

  5. andrea_r
    Moderator
    Posted 15 years ago #

    "With the div or p align tags there is a unwanted gap between the image and the text. "

    If you mean the gap shows on the front end of the blog, you'd be better off tweaking the stylesheet of the blog's theme.

  6. kaluwu
    Member
    Posted 14 years ago #

    I have a simular issue, when I copy the code from mailchimp and try to add a contact form in the contact page, after I save the code, the contact form break down. But, when I use this code on other WP or WPMU pages, it works properly.

    They all have the same version, don't know what happen.

About this Topic

  • Started 15 years ago by TheGeek101
  • Latest reply from kaluwu