Vertically and Horizontally Center Image inside a Div, if you don't know Image's Size?
- by viatropos
If I have a fixed sized container div, and an unknown sized image, how do I horizontally and vertically center it?
using pure css
using JQuery if css can't do it
This answer makes sense for fixed width images, but not variable ones.
Thanks for the help!