Picture is not getting aligned to center :S

  • Author
    Posts
  • #262147

    ghaus
    Member

    I use this code, but still the picture is not getting aligned to center.

    This is the code in my stylesheet,

    .alignright{
    float:right;
    padding-right:20px;
    }

    .alignleft{
    float:left;
    padding-left:20px;
    }

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

    img.alignright{
    display:inline;
    margin:0 0 2px 2px;
    padding:4px;
    }

    img.alignleft{
    display:inline;
    margin:0 2px 2px 0;
    padding:4px;
    }

    Can somebody help me. I am using this theme http://cssace.com/free-wp-premium-theme-is-here/

    I would be very thankful if someone helps me out. Check my blog for the problem http://www.addictivetips.com

    Regards, Nakodari

    #262373

    justjennifer
    Moderator

    Sorry, you’re in the wrong place. This is the support forum for wordpress.COM. You need to be over at support for self-hosted wordpress http://wordpress.org/support/

    https://en.forums.wordpress.com/topic/please-read-me-first-before-posting?replies=1

    #262432

    webdesignni
    Member

    what is the addrss of you css file and your webpage so i can take a look.

    #262436

    @webdesignni

    Although it is all well and good to help those who are self-hosted (and I have done so many times myself), might I suggest you take the help to email or onto their blog instead of here in the wordpress.COM forums?

    If the answers to self-hosted problems are posted here in the .COM forums, it simply ends up confusing the people blogging on .COM.

The topic ‘Picture is not getting aligned to center :S’ is closed to new replies.