[Solved] Loosing CSS-formatting when browser refresh or cache not empty

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Connie

Re: Loosing CSS-formatting when browser refresh or cache not empty

Post by Connie »

Die Seite lädt korrekt immer wieder und dann nicht mehr

The page loads correctly in my browser  2 or 3 times, then the needs time to load then the CSS is not loaded
when I move the mouse, the page is jumping (you have a really sportive page!)

my tip:

load the CSS first in the header, not after the Javascripts etc.
It depends on the sequence, I think,
in case one of the scripts is blocked, the CSS will not be loaded anymore

the well known game:
3 CSS errors and warnings http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A%2F%2Fwww.swissdiscgolf.ch%2Fwalk%2F

15 HTML-errors: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.swissdiscgolf.ch%2Fwalk%2F&charset=(detect+automatically)&doctype=Inline&ss=1&group=0&verbose=1&user-agent=W3C_Validator%2F1.654

check to fix these errors, then the phenomen will be gone, I think

take off the commented DOCTYPE declaration in the header, that is not good

script has no attribute "language", that is deprecated

Connie, the DiscoGolfDummy ;=)
Last edited by Connie on Sat Jun 27, 2009 6:13 pm, edited 1 time in total.
jorge13

Re: Loosing CSS-formatting when browser refresh or cache not empty

Post by jorge13 »

Thx Connie and all of you

i will fix Connies tips soon...

i took out the {process_pagedata} from the template and left some time-calculation script code in the (first) page options page-specific meta data.
i guess it works too if i move the page-specific meta data down to page-specific smarty data and leave the {process_pagedata} in the template.

i consider this thread SOLVED

thx to all for your time and thinking
Locked

Return to “Layout and Design (CSS & HTML)”