I made a responsive web page, but only the iPhone somehow has a horizontal width and scrolls horizontally.Images are also visible (from the left).
Even if width is designated as 100%
in CSS, there will always be a gap on the right of 20%
and it will be scrolled.
Please let me know if there is a solution.
viewport is specified.
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scale=no"/>
Do you specify the viewport as follows?
Without this, I can't pick up the width of the browser width of the browser.Please add this meta tag to the header.
<meta name="viewport" content="width=device-width, initial-scale=1.0">
© 2024 OneMinuteCode. All rights reserved.