ios - Resize site width to fit within width of iPad screen -
i have site 2048px wide. there way automatically have ipad fit entire site width on screen when site loaded? i've tried experimenting meta viewport in few different ways:
<meta name="viewport" content="width=device-width maximum-scale=1.0"> <meta name="viewport" content="width=device-width initial-scale=1.0">
this hasn't worked though. site still wide , spills off screen on ipad.
you can pass fixed size content width so:
<meta name="viewport" content="width=2048" />
may need tweaking allow padding either side, should load site @ size , allow users zoom in.
ios css ipad css3
No comments:
Post a Comment