-1

I would like to say that I am not really experienced with HTML, CSS and etc.. due to the fact that recently I started to read and learn them.

I am trying to make a responsive website but when I was thinking that everything was going really smooth I faced up something that really confused me. When I am browsing the website through my phone (640x320 - landscape or 320x640 - portrait) the website looks great. Exactly how it should be. Then I decided to expand the range of screen resolutions. I am using Google Chrome and the feature called "Toggle device mode". When I am browsing the website with the "Toggle Device Mode" on 640x320 pixels or other variations the website isn't the same as browsing it from the phone. To be clearer, I will attach pictures so you can see exactly what I am talking about.

PS: After "Toggle Device Mode" I tried many other websites which test your website responsiveness and everyone showed that gap between the two sections. Can you tell me if I should be worried or not? From where comes this difference between the phone and the responsiveness simulators? Is it fixable? If someone can help me I would be really grateful. Thanks in advance.

PSS: Sorry for my English but I am not a native speaker.

George Smith
  • 415
  • 8
  • 25

1 Answers1

0

Toggle Device Mode only changes the size of your the viewport the website renders in.

When viewing the website only a mobile phone, the phone is using a different browser to the computer, and that browser is coded differently. Depending on how it has been coded, the result may be different, since it interprets the HTML page in a different way.

This is very similar to problems developers face when making their webpage compatible with multiple browsers (on computers).

Kaspar Lee
  • 5,446
  • 4
  • 31
  • 54