WordPress.org

Forums

IMG Align=Right Does Not Work On IE7 (4 posts)

  1. Toniee
    Member
    Posted 8 years ago #

    Hi,

    How do I change it so that in the admin panel, when I post an image and I set alignment to right, for WP to add the code float:right; instead of align=right, because align=right does not work on IE7.

    Tony

  2. Pizdin Dim
    Member
    Posted 8 years ago #

    In your theme stylesheet (CSS) file, have something like this: img.right {float: right} and in your post use something like this: <img class="right" src="whataver.png" />

  3. Toniee
    Member
    Posted 8 years ago #

    Well How do I change the script to use class="right" instead of align="right" when I press the insert image button.

  4. obscure
    Member
    Posted 8 years ago #

    I think he means that you have to edit the post in code view (make the changes manually).

Topic Closed

This topic has been closed to new replies.

About this Topic