bcockrell
Member
Posted 2 weeks ago #
Anybody got an IE fix for getting auto height to render properly when using max-width for post images?
My site: http://decisionheight.net
My CSS code:
div#main div.post img{
border: 14px solid white;
max-width:540px;
height:auto;
margin-right:10px;
}
Looks fine in other browsers... but IE totally ignores the auto height.
Thank for your help!
mirroreflex
Member
Posted 2 weeks ago #
max-width has issues with explorer, try to assign a default width for pics or create more classes for different images
You need to resize your 850 by 638 photos so they fit into your column width proportionally.I plugged in 550 where the 850 for example.
<img src="http://decisionheight.net/wordpress/wp-content/uploads/2009/11/Randy-and-visitors.jpg" alt="Randy-and-visitors" title="Randy-and-visitors" width="850" height="638" class="alignnone size-full wp-image-374" />