Re: Simulate Mobile Preview
As far as i know each site detect the type of device and the screen resolution then send a css version for the requested page that fit properly, so it is not enough to just set the size of the web browser control.
Re: Simulate Mobile Preview
Quote:
Originally Posted by
Absolute_Zero
As far as i know each site detect the type of device and the screen resolution then send a css version for the requested page that fit properly, so it is not enough to just set the size of the web browser control.
Right, that's precisely the problem I'm trying to solve if possible; the reason for the post.
Re: Simulate Mobile Preview
The site typically does one thing (if at all): Determine if the user is mobile and (potentially) re-route them to the mobile site.
Newer websites send ONE CSS file that contains a MEDIA query that adjusts elements and content based on a few parameters that the media query allows for. If you want to emulate such a thing, just merely resize your browser window and watch the media query take effect.
Slightly older websites will contain a CSS reference to a "mobile" style-sheet. I can't even remember how it does that, though...I think the type is like...handheld or something.