WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Graphic problem: will not center, or word rap. (4 posts)

  1. yogirajj
    Member
    Posted 5 years ago #

    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.

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    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.

  3. yogirajj
    Member
    Posted 5 years ago #

    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...

  4. yogirajj
    Member
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic