Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #993533
    bak
    Participant

    Hi

    How can I deduce the size of an image and at the same time center it?

    I used max-width: 80%;margin-left: auto;margin-right: auto; but it is left aligned instead of center aligned

    #993537
    bak
    Participant
    This reply has been marked as private.
    #993559
    Thai
    Moderator

    Hi There,

    Please add the display: block; CSS to the style field of your image:

    http://i.imgur.com/yG02PPw.png

    Hope it helps 🙂

  • <script> jQuery(function($){ $("#no-reply-993533 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>