SyntaxFix
Write A Post
Hire A Developer
Questions
Put the picture inside a newDiv. Make the width of the containing div the same as the image. Apply margin: 0 auto; to the newDiv. That should center the div within the container.
newDiv
div
margin: 0 auto;