wrap img into div and set text-align instead of float to achieve block level alignment