jef — 2013-02-11T04:54:59-05:00 — #1
am working on a site ( www.bistrolafrontiere.com ) . Since a week I noticed that every time you go to another page the upper part of the screen is jumping up and the logo disapperas for a split second and then everything comes back.
Checked already all of the css code, but could not find any error.
May be it is not the CSS but another code ?
Can somebody have a critical eye on this problem?
I would be very thankfull.
ralphm — 2013-02-11T07:12:46-05:00 — #2
No problems here (Chrome on Mac). What browser are you using?
webcosmo — 2013-02-11T11:30:32-05:00 — #3
In some browsers like IE those weird things tent to appear, but can be avoided if you give the element the position:relative;
jef — 2013-02-11T12:44:14-05:00 — #4
Sorry for the late reply. My settings tll me that every time there is a raction, I would receive an e-mail.
Perhaps due to the rain and snow over here, it did not happen. So my excuses for it.
I am using and Mozilla, and IE 8 and Chrome.
Chrome is alright. Only the first time it gives a little "flash" effect. But then cache seems to do the job.
just tried the code you provided, but still got the same problem.
Any other suggestions???
I got the feeling that every tiùme the browser starts from http://www.bistrolafrontiere.com/index.html instead of ../index.html
Is that possible?? If so, how to avoid??
jef — 2013-02-13T09:11:24-05:00 — #5
Nobody has the golden tip or golden hint???
picnictutorials — 2013-02-13T09:21:30-05:00 — #6
What browser and version do you see this in?
jef — 2013-02-13T09:32:23-05:00 — #7
thnx for the quick reply.
Am using Firefox 18.0.1, Firefox 18.0.2, IE 8.0.6001.18702 en Chrome 24.0.1312.57m
I've set up a site for my wife ( www.alvoge.nl ) with a similar structure, and that 's working wel. No problems in any of the browsers.
Hope you can do something with it
paulob — 2013-02-13T11:57:20-05:00 — #8
The only issue I notice is the usual @font-face issues where the normal font is shown first and then the uploaded font replaces when its loaded giving what is commonly called a FOUT (Flash of unstyled Text). Some browsers are better than others but its very noticeable in IE and one of the reasons I avoid @font-face where possible.
I would ensure that first your header area has a height set so that you don't get a jump in page height when the text is replaced.
You can read more [on this here with some [URL="http://www.webink.com/fout-b-gone/"]possible solutions](http://paulirish.com/2009/fighting-the-font-face-fout/#update2011).
jef — 2013-02-13T14:41:42-05:00 — #9
Hoi Paul O'B,
thnx for the interesting tips and hints.
This is more worth then I expected.
Was not aware of this "font face problem".
Tried for a fixed height, but still the same (even if I gave it a height of 200px).
Also tried to put the #header out of the #wrap and in CSS sheet put font face underneath #header
Guess it's better to wait for the next update for Firefox and IE, because Chrome is doing fine.
But still interesting stuff. Again, learned a lot!!
paulob — 2013-02-13T15:30:41-05:00 — #10
I just added a height to the header of 124px and that seems to stop the jumping in IE although you still get the font-changing of course.
This was only tested via the developer tools and toggling the font on and off but the results should be the same live. Without the height the page jumps up and down but with the height it stays steady.
jef — 2013-02-14T04:31:10-05:00 — #11
Hoi Paul O'B,
did already a reply yestarday. But there seems to have gone something wrong.
So hereby a second attemp.
Thnx for the advice. Put it in the code and it works fine for IE. Think that the font-changing is more than acceptable.
Firefox still is not going the right way. May be in the future.
Thanks a lot for your advice, and I already mentioned it above: I learned a lot.
Thnx & grtz,