contact form loading speed issue?
To Webassist
I have bought two contact forms for two different domains and I have noticed a slight glitch when the contactus.php page loads on the sites.
The contactus.php web page momentarily jumps a few pixels to the right when the page loads and an instant later it then jumps back again- all this happens in less than a second but is noticeable.
I have also noticed....
1)It happens in IE9 and Safari 5.1 - it doesn’t seem to happen in firefox 6 or Google Chrome.
2)It doesn’t happen every time - probably about 30% of the time
3)If I reduce the zoom level on the contact page enough to see the whole web page( so that scroll bars do not appear) then the effect disappears
I have tried to fix this but not succeeded so far
Based on 3) above I think the issue is arising because my web pages are auto centred using a fixed width web page with the left and right margins set to auto.
Thus putting all this together I think that the contact page may be loading relatively slowly?
Thus the problem might be arising because the browser doesnt initially generate scroll bars for an instant because it isnt 'aware' of the contact form (because it's still loading???) - another instant later as the contact page loads the browser generates the scroll bars and as the width has now increased by the width of the scroll bars the browser has to recalculate the centre position and thus moves to the new centre position (as per the CSS auto margin code mentioned above - thus causing the flicker?
Thus if my analysis is correct could you please throw some light on why the contact form might be loading relatively slowly in ie9 and safari 6?
How can I solve this and still use auto margin to centre the fixed width web page?
Hopefully someone else has noticed this and found a fix?
Jonathan
j.dobres@blueyonder.co.uk