I have a little problem with one of the sites that I developed. The problem is simple, but the solution seems a little more complicated.
Problem
The problem is that the page is displayed as it should be on the mobile device, but immediately after pageload is completed, the page changes to fit the visible window. Nothing strange, it happens on almost every unresponsive website. But it is strange that only 75% of the available width is used.
I have already compared the based / sliced version of the design with the production version. The original version does the rendering (100%). I tried to spot the differences in CSS, but I can find a couple, I tried to reset them, but that didn't work.
Also, I tried disabling javascript (this is just the Lightbox effect and 1 JQueryUI "AddClass"). The javascript effect has only 1 task: after pageload, the size of the header will be changed from 480px to 220px. No changes are made to the width of any element on the page.
Finally, but not least, I launched Adobe Edge Inspect and looked at the resource source of the mobile device. But, unfortunately, I can’t notice any element on the page that exceeds the width of the body tag. The only one that is larger than the width is the header image, but the image is within the div (100% width) with overflow:hidden
Basic and production version
If someone would be so kind as to take a look at what ruined the rendering, that would be awesome. I can not understand what is causing the problem.
Founded (working): http://www.nambi.nl/lefunq/
Production (rendering with a width of 75% on a mobile phone): http://www.lefunq.com/_index.php
Thanks to everyone who takes the time to study this issue.