View Single Post
Old 02-20-2013, 03:55 PM   #7
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,059
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
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.
Turtle91 is offline   Reply With Quote