Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upon opening, the site goes quickly to left?

Tags:

html

layout

When you are opening my website "7daysdistribution", the layout goes quickly to the left and looks horrible. This happens for some seconds and it afterwards it looks right. Not all pages experience this only home (sometimes), brands, contact. What can I do?

like image 348
user1842523 Avatar asked Nov 04 '22 10:11

user1842523


1 Answers

It flashes quickly on the left side in Opera as well, and I could see it happen on all pages actually.

Trying moving the responsive-style.css <link> further up in the source. Might be that it takes a moment to load, and until that style is loaded then the center alignment of .container won't take effect.

The effect will be more pronounced in IE8 because IE8 only downloads two files at a time, so it takes longer before it gets around to responsive-style.css since there are a lot of other files to download first.

like image 58
Supr Avatar answered Nov 10 '22 06:11

Supr