Normally, you center images with display: block; margin: auto, but if the image is larger than the container, it overflows to the right. How do I make it overflow to the both sides equally? The width of the container is fixed and known. The width of the image is unknown.
Normally, you center images with display: block; margin: auto , but if the image
Share
HTML
CSS
jQuery
See it on jsFiddle: http://jsfiddle.net/4eYX9/30/