css - Use viewport for iPhone only, not iPad -


i'm using following meta tag display site correctly in iphone:

<meta name="viewport" content ="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width">

on ipad however, when using meta viewport, site not correctly zoomed once loaded. instead of showing entire page, have scroll right see hidden part of it. looks perfect though if not meta viewport not used.

is there way use viewport devices width under 481px? or possible use css archive meta viewport does?

for iphone:

<meta name="viewport" content="width=device-width; initial-scale=0.65; maximum-scale=1.0;"> 

for ipad:

<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1.0;"> 

Comments

Popular posts from this blog

c++ - End of file on pipe magic during open -

basic authentication with http post params android -

data.table making a copy of table in R -