Welcome Guest!
In order to take advantage of all the great features that Waterloo Region Connected has to offer, including participating in the lively discussions below, you're going to have to register. The good news is that it'll take less than a minute and you can get started enjoying Waterloo Region's best online community right away.
or Create an Account




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strange Behaviour on Mobile
#7
So, I'm a Browser Developer for mobile. This basically comes down to "viewports"

You design a website and put it online. Woo hoo! On desktop it displays great, but how does it look on a screen that's only a couple inches across?

Well, do the pieces of your design move around? How wide is the content? How much is text?

Mobile browsers have a helluva time figuring out what is the appropriate width to lay out a page. On desktop, it's whatever width the window is. On mobile, it's at some unknown zoom scale.

Browser use certain techniques and heuristics to try and guess what might be an appropriate width. And there are features like Text Auto-Sizing to make sure text is readable even if the width results in a zoom scale that would make large type look like fine print.

But the best way by far is to have the site author explicitly state in the web page: THIS is the width you should lay it out to. This is by means of placing a viewport meta tag within the site's head, like Mozilla recommends:
Code:
<meta name="viewport" content="width=device-width, initial-scale=1.0">

The mobile version of this website doesn't have a valid viewport tag, otherwise your mobile browser wouldn't have to guess (and guess wrong) at the appropriate width to lay out the page.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Strange Behaviour on Mobile - by Canard - 09-07-2015, 08:33 AM
RE: Strange Behaviour on Mobile - by Canard - 09-07-2015, 08:34 AM
RE: Strange Behaviour on Mobile - by Spokes - 09-07-2015, 09:50 AM
RE: Strange Behaviour on Mobile - by Markster - 09-07-2015, 10:09 AM
RE: Strange Behaviour on Mobile - by Spokes - 09-07-2015, 03:50 PM
RE: Strange Behaviour on Mobile - by Canard - 09-07-2015, 04:12 PM
RE: Strange Behaviour on Mobile - by chutten - 09-08-2015, 02:22 PM
RE: Strange Behaviour on Mobile - by Canard - 09-09-2015, 09:09 PM
RE: Strange Behaviour on Mobile - by Canard - 09-15-2015, 06:09 AM
RE: Strange Behaviour on Mobile - by Spokes - 09-16-2015, 06:48 AM
RE: Strange Behaviour on Mobile - by Markster - 09-15-2015, 08:29 AM
RE: Strange Behaviour on Mobile - by Spokes - 09-16-2015, 06:49 AM
RE: Strange Behaviour on Mobile - by Markster - 09-15-2015, 11:59 AM
RE: Strange Behaviour on Mobile - by Canard - 10-04-2015, 09:39 AM
RE: Strange Behaviour on Mobile - by Spokes - 10-04-2015, 10:16 AM
RE: Strange Behaviour on Mobile - by MacBerry - 10-06-2015, 08:32 PM
RE: Strange Behaviour on Mobile - by Spokes - 10-07-2015, 08:41 PM
RE: Strange Behaviour on Mobile - by Canard - 10-12-2015, 02:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)

About Waterloo Region Connected

Launched in August 2014, Waterloo Region Connected is an online community that brings together all the things that make Waterloo Region great. Waterloo Region Connected provides user-driven content fueled by a lively discussion forum covering topics like urban development, transportation projects, heritage issues, businesses and other issues of interest to those in Kitchener, Waterloo, Cambridge and the four Townships - North Dumfries, Wellesley, Wilmot, and Woolwich.

              User Links