device-width

html meta viewport user-scalable=no seemed no longer working on iOS 13.3

孤街浪徒 提交于 2021-02-08 09:16:15
问题 I am trying to disable user pinch zoom on a web page dedicated for mobile devices, i tried the following meta tags with no avail: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> I also tired this: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/> some of my older websites that used to succeed in disabling user pinch zooming before, no longer work anymore as of today. I am not

html meta viewport user-scalable=no seemed no longer working on iOS 13.3

守給你的承諾、 提交于 2021-02-08 09:16:07
问题 I am trying to disable user pinch zoom on a web page dedicated for mobile devices, i tried the following meta tags with no avail: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> I also tired this: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/> some of my older websites that used to succeed in disabling user pinch zooming before, no longer work anymore as of today. I am not

Why my responsive CSS is not taking media width?

狂风中的少年 提交于 2020-01-06 15:04:00
问题 As the title's saying, I can't set media screen width-specific CSS for my PHP webpage. Here is my <head> section of my index.php : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title><?php echo SITENAME; ?> - <?php echo SITEDESC; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial

Why won't my viewport tag properly use device width (no zoom) on most mobile devices?

烈酒焚心 提交于 2019-12-07 10:03:50
问题 UPDATE 03/2019: This Q&A still gets some activity, nearly 5 years my question came up. Please note this problem was due in part to more common irregularities in older mobile devices at THAT time. With today's browsers and devices, fiddling with viewport scalability would be a shoe-horn fix to a bigger problem which is likely a problem in either your CSS or possibly your markup. I've built a dozen responsive sites and have never experienced this problem. Basically, I'm using the meta tag for

Why won't my viewport tag properly use device width (no zoom) on most mobile devices?

℡╲_俬逩灬. 提交于 2019-12-05 16:18:08
UPDATE 03/2019: This Q&A still gets some activity, nearly 5 years my question came up. Please note this problem was due in part to more common irregularities in older mobile devices at THAT time. With today's browsers and devices, fiddling with viewport scalability would be a shoe-horn fix to a bigger problem which is likely a problem in either your CSS or possibly your markup. I've built a dozen responsive sites and have never experienced this problem. Basically, I'm using the meta tag for viewport with width=device-width, but iPhone and Android devices are still zooming. For some reason, I

Detect if browser window is maximized and at default (100%) zoom

你说的曾经没有我的故事 提交于 2019-12-05 08:17:01
问题 I know it sounds weird but there really is a reason and it is in the users' best interest. I know that having the browser automatically maximize and set 100% might be problematic but how about making so that if the window is not maximized and the zoom is not 100% all the users would see is a message "please max your window and set the zoom to 100%". I need to make this work in Chrome, Firefox and IE ...at least. I am not trying to make it "full screen mode" just maximize the window. If

Detect if browser window is maximized and at default (100%) zoom

霸气de小男生 提交于 2019-12-03 22:00:56
I know it sounds weird but there really is a reason and it is in the users' best interest. I know that having the browser automatically maximize and set 100% might be problematic but how about making so that if the window is not maximized and the zoom is not 100% all the users would see is a message "please max your window and set the zoom to 100%". I need to make this work in Chrome, Firefox and IE ...at least. I am not trying to make it "full screen mode" just maximize the window. If "forcing" in the sense "keeping" 100% and max window is problematic how about just setting the zoom to 100%