I'm testing a webpage on Chrome desktop, adjusted to simulate mobile display, and I cannot figure out how to adjust the aspect ratio. It seems like the width is reflecting a 946px width and 1743px height, when it should be much smaller, reflecting mobile screen dimensions. When I access the page on my actual mobile device, the same problem occurs. How can I either adjust or adjust to what is happening so that my page is a normal size on mobile? Thanks
How to adjust to the aspect ratio for mobile browser
2.9k Views Asked by bignore59 At
2
There are 2 best solutions below
Related Questions in HTML
- How to store a date/time in sqlite (or something similar to a date)
- How to use custom font during html to pdf conversion?
- Storing the preferred font-size in localStorage
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- Is there any way to glow this bulb image like a real light bulb
- With non-graphical maps in Leaflet, zoomDelta doesn't work
- What can I do to improve my coding on both html and css
- Uncaught TypeError: google.maps.LatLng is not a constructor at init (script.js:7:13)
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- Displaying a Movie List on a Website Using Jinja2 and Bootstrap
- How to redirect to thank you page after submitting a Google form embedded into a Google Site?
- Storing selected language in localStorage
- Fences (parenthesis, braces) in HTML and MathML
- Understanding Scroll Anchoring Behavoir
Related Questions in CSS
- How to use custom font during html to pdf conversion?
- Storing the preferred font-size in localStorage
- mp4 embedded videos within github pages website not loading
- Is there any way to glow this bulb image like a real light bulb
- What can I do to improve my coding on both html and css
- Uncaught TypeError: google.maps.LatLng is not a constructor at init (script.js:7:13)
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- How to increase quality of mathjax output?
- Hover animation resetting( seemingly reverting back to original CSS and then again to hover)when moving mouse horizontaly accross a part of an element
- Storing selected language in localStorage
- How to clip grid cell and provide scroll as well?
- KeyboardAvoidingView makes a messy the flexbox
- Rotate an object around another object in javascript
- Understanding Scroll Anchoring Behavoir
- how to use only block layout in this css code?
Related Questions in BROWSER
- (in promise) TypeError: NetworkError when attempting to fetch resource
- How could i add a bookmark and tabs function in PySide6?
- Difficulty Accessing HTTP URLs/IP Addresses Due to Browser Redirecting to HTTPS: Seeking Solutions
- Can be their an extension to save pages in as offline in the browser itself?
- Connecting puppeteer to an existing Brave Browser instance using
- How can I modify javascript native fetch function from an extension?
- Update your browser to use...in android webview application
- Why does throwing an error in any browser developer console not get caught by window.addEventListener('error')?
- The javascript and css files cached by chrome do not belong to the same version
- Unlike chrome Unable to create multiple instance of sidepanel while creating extension for edge browser
- Cannot import a class from a WebPacked javascript file
- How do I keep the same time input style in both firefox and chrome
- Use GUI application on Github Codespace
- get cpu / gpu capabilities from client in react / typescript?
- How to close a browser context after multiple test is written in same file
Related Questions in ASPECT
- PostSharp OnMethodBoundaryAspect - access parameters types from constructor
- How to write the proper pointcut to match an interface returning object?
- How implements Spring Bootstrap and Aspect?
- Is there possible to add Non-Functional Requirement into use case?
- How to apply spring aop aspect on a prototype scoped bean
- Aspect call ending before the method is subscribed
- Postsharp: my own aspect in shared library can't be used without additionally referencing postsharp - Why?
- A method can only be hooked once per class hierarchy
- Is it possible to create a JAR with an aspect that is automatically applied to classes in client project?
- Skipping method visibility results in point-cutting all methods?
- Is it proxy over a proxy when both Aspect and Transactional are used?
- error in aspectj Project as change the Compilation Level
- Pointcut for a method injected with AspectJ
- Aspect AOP not intercepting all methods within pointcut
- Weave constructor created Aspects at run time?
Related Questions in PPI
- Get Screen Display Size (Diagonal) in Inches
- Meaning of PPI (Pixel Per Inch)
- Reducing the pixels-per-inch (PPI) of an image results in same file size
- Get screen's physical ppi with Delphi 10.4 in windows 10
- Is there any way to rectify stringApp communication error despite newer versions of STRING App and Cytoscape installed?
- C++ Builder 11 - TCheckBox Scales When Form Scaled is False - Work around?
- Why PPI reported by Delphi is different from the calculated one?
- How do I calculate the PPI of an image for a print area of known size?
- React-Native: Text is rendering differently in different mobile phones
- Android | Why do activity look different on two different phones with same resolution as well as same screen size?
- How to read screen information from QGuiApplication to put in qputenv environment variable?
- How to create seperate values folder for Samsung Galaxy note plus and Google Pixel XL3 in Android Studio
- Why is there two different functions GetDpiForSystem and GetDpiForWindow in WinApi?
- How to adjust to the aspect ratio for mobile browser
- How to correctly use TGridPanel when display PPI scaling is active?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

1/ Check CSS
You selected Iphone 6/7/8 format. If you select < body > or < html > tag in your inspector, and if your page do not contain CSS changing the default width and height of this tags, you'll see that the width of < html > of < body > tags is 375px, like the mobile frame you selected.
But, here your problem is that you selected a division with a #main identifier in your inspector. This division is larger than the screen size probably because of CSS rules. This should be fixed by using a rule like:
See how media queries work to make the content of your page responsive: https://developer.mozilla.org/fr/docs/Web/CSS/@media
2/ Check your viewport meta tag
You should also set a viewport meta tag, depending of your needings. Here is a common one, present on stackoverflow website by example: