Home › Forums › CSS › how do i use the auto selector to place an image tag in the middle of a DIV tag › Re: how do i use the auto selector to place an image tag in the middle of a DIV tag
September 25, 2012 at 3:55 am
#110737
Participant
Images are inline elements by default. Set display block then margin: 0 auto to center it.