vendredi 2 janvier 2015

ios8 Add to homescreen ICON has a white bar at the bottom

I think i have a very simple issue that i just can't get solved.


ON IOS7 if i go on my page and click add to homescreen, safari does a screenshot of the page and places it on the homescreen of the iphone.


SCREENSHOT HERE: prntscr.com/5nsjh7


ON IOS8 the same page, same picture, the ICON has a very big white space underneath it.


SCREENSHOT HERE: http://ift.tt/1yheDSU


I need this to be dynamic because there will be writing on the picture so i can't use the:


is there any way to solve my stupid problem?


Here is the code:



<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name = "viewport" content = "height = device-height">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />

</head>
<style type="text/css">

html{

}
body {

background: url(http://ift.tt/142YOSp);

}

div.texts3 { font-family: 'Carme', sans-serif; }


</style>
<body>
aaaa
</body>
</html>



Aucun commentaire:

Enregistrer un commentaire