How to vertically center image inside div

img{ display: block; margin: 0px auto; }

Leave a Reply

Your email address will not be published. Required fields are marked *