On 6/10/13 10:46 PM, Philippe Wittenbergh wrote:
Le 11 juin 2013 à 14:35, David Hucklesby <[email protected]> a écrit :
Discouraging, as this is my first attempt - and I don't know how to inspect
a web page on iPad to find out what's what.
Connect the iPad via USB to your machine then call up the Safari inspector
(in Safari 6 /desktop), from the developer menu.
Thanks a bunch for that tidbit of information, Philippe.
Futzing with various widths in the Web inspector, the mystery deepens. As I
increase the (percentage) width of the container, the image shrinks. Decrease
the width enough, and the image extends below the bottom!
I give up! After much googling, I came across another possibility on Stack
Overflow[1]. I updated the dabblet[2] to demonstrate.
Can't center this though, but I think I can fake it by positioning landscape
and portrait images differently. :)
[1]
<http://stackoverflow.com/questions/14425300/scale-image-properly-but-fit-inside-div>
[2] <http://dabblet.com/gist/5751259>
--
Cordially,
David
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/