Avoiding screen rotation in viewport meta property (web mobile) -
is posible avoid screen rotation on web mobile viewport meta property? our website should viewed in portrait mode always.
<meta name="viewport" content="width=device-width" />
thanks.
no, totally dependent on user agent , platform on runnung. can make sure wouldn't mess in page, if written in head section properly.
<meta name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width" />
Comments
Post a Comment