Home > Web Front-end > HTML Tutorial > Size problem of mobile web front-end_html/css_WEB-ITnose

Size problem of mobile web front-end_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:14:05
Original
1260 people have browsed it

What is the physical size of the mobile web (smartphone) front end (the layout is compatible)
iPhone?
Android xx machine?
. . .


Reply to discussion (solution)

Press the width to 100%, or use JavaScript to get the resolution

Set the width to 100%.

480*320

Please check the mate attribute of the mobile browser to set device-width
The current browsers on iPhone and Android can force the device size to be 480*320

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template