0

I've got an image-tag with a width of 200 and height of 206 and stretched it proportional to full window width by using width="100%" and height="auto"

It works well on IE10, IE9, Safari, Chrome and Firefox but on my iPhone 3G the image is stretched to 100% height and when I reload the image height gets doubled!

This is my code so far.

Any help is appreciated.

4

1 回答 1

0

在嵌套的父 DIV 上使用position:auto解决了这个问题

于 2013-09-17T08:28:13.513 回答