I am trying to create a zoom effect on mouseover, but I am facing an issue where the height is set to 'auto' causing the zoomed-in image to overflow from the div and increase in height. I need to maintain the height as 'auto' for responsive design purposes. Any suggestions on how to solve this would be greatly appreciated. Here is the link to the code: http://jsfiddle.net/nitish_8/zaeZ4/
<div class="item">
<img src="images/2.jpg" />
</div>
<div class="item">
<img src="images/2.jpg" />
</div>
<div class="item">
<img src="images/2.jpg" />
</div>
<div class="item">
<img src="images/2.jpg" />
</div>