Is it possible, using only CSS (no JS), to make an image horizontally centered with respect to its container, in a responsive-like fashion (Obviously, if the container has a fixed width I could do math with pixels to get it exact) ??
Here's a fiddle of the scenario: http://jsfiddle.net/uqxu0vtv/1/
div.somediv { padding: 150px 2% 2%; border: 1px solid #000; position: relative;}
div.somediv img { position: absolute; top: 20px; left: 35%;}