Home › Forums › CSS › [Solved] Centering an image › Reply To: [Solved] Centering an image
May 27, 2015 at 6:14 am
#202905
Paulie_D
Member
If this is all you have
img {
max-width:60%;
height:auto;
border:0;
}
then you can just add
margin: auto
and it may center…or text-align:center
on the parent element.
We really need to see a live link or more HTML & CSS to help further.