On a page I'm developing, a webpage where I have an image that adjusts itself according to the field space. to do this, I used the max-width:100%
property that is advised on the web to make this kind of adaptation into responsive templates. My problem is that when checking in IE9 browser, this image is responsive in width but stretches in height. my code:
HTML :
<div>
<img id="logo" src="http://3.bp.blogspot.com/-mAbLcUMIhgc/Tp_1XrkQhfI/AAAAAAAAACU/pNqm50MEplM/s1600/imagem_noticia_02.jpg"class="transparent2" width="100%"/>
</div>
CSS :
html{
background:#666;
}
div{
width:50%;
height:100%;
margin-left:25%;
background:#eee
}
#logo{
max-width:100%;
}
I also did not put here in JSFfile.