javascript - Different resolutions when opening different pages on the mobile phone
PHP中文网
PHP中文网 2017-05-16 13:21:30
0
1
535

I’m a beginner, trying to make a responsive web page myself without using a framework.
However, there is a very bloody problem on mobile terminal!

Open two web pages and change them to two resolutions!

are: home page, registration page.
The registration page has the same nav and footer parts as the homepage, so the html of the registration page first references the css of the homepage, and then the special css of the registration page.

The test includes the mobile phone simulation that comes with Chrome F12 and HUAWEI G7.

The following is a debugging screenshot of Chrome phone simulation:

Homepage

Registration page

The most important part of the body is the width, and the others can also be seen in the picture.

body {
    width:100%;
}

You can see in the lower right corner that the resolution of the entire body of the second page is much larger. This is also the case on mobile phones. May I ask why this is?

PHP中文网
PHP中文网

认证0级讲师

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!