Originally Posted by JSWolf
Let's say the image was the cover. That code would not work well at all. In fact, it's the wrong way around. For the cover, you want the height to be 100%. Also, if it's a map, you also want the height to be 100%. In a number of cases, that's backwards.
That's true...mostly...the code actually works to get it to display properly - if the image is larger than the container....that's the problem we are having...if you use "height=100%" then the display is all whacked - the aspect ratio is all tweaked. Apparently HTML5 no longer supports a % in the height/width attributes, ONLY pixels. So we are trying to figure out how to get it to display properly...an effective height=100% and yet stay scaled properly.