I have a div
with width set to 800px. When I view it on my laptop it is shown as intended. But when I visit the web page on the phone, (or just use iPhone 6 view using chrome developer tools) I would expect that div to go beyond the width of the screen, since iPhone 6 width is only 375 points (CSS pixels).
Now I know that after including <meta name="viewport" content="width=device-width,initial-scale=1">
it will work as intended. It indeed does. But I would love to know what a mobile browser does there by default when the meta tag is not present. It seems that it "sees" the width of the screen to be approx. 980px (even though it's not) and scales everything accordingly. So to fill the full width of the phone I'd use width: 980px
. But where does this number come from? Can't quite figure it out.