WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Graphic problem: will not center, or word rap.

[Resolved] Graphic problem: will not center, or word rap.

  • Any graphic I post will not center. I have to manually edit and change html code to <<center>><</center>>. Graphics will not word rap either. I thought this was fixed in the last upgrade. What gives?? Does anyone know how to fix this issue?? Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    @esmi

    Forum Moderator

    I don’t know what <<center>><</center>> are but they’re neither valid HTML markup nor WP code.

    In order to get images to center automatically, you’ll probably need to make a few adjustments to your stylesheet and then make sure that you select the correct alignment when adding images to your posts via the Media Uploader.

    Adding:

    img.aligncenter {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    }

    to the bottom of your current theme’s stylesheet should solve the problem.

    Thank you. I still down’t understand why wordpress doesn’t use basic HTML codes that most internet browsers use. I hate manually changing things, it makes more work than needs to be.

    Thank you…

    I have discovered that it was firefox that gave me the problem. Internet explorer gave me know problem… Bummer…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Graphic problem: will not center, or word rap.’ is closed to new replies.