IE Layout messed up before refresh

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"
Locked
User avatar
magallo
Dev Team Member
Dev Team Member
Posts: 121
Joined: Thu Mar 24, 2011 12:37 am

IE Layout messed up before refresh

Post by magallo »

Hi Guys i have 2 sites designed with cmsmadesimple both are on html5. When you get to the home page the page looks all messed up until you hit refresh. This problem happens with IE.
I already added the script:

<!--[if lte IE 8]>
<__script__ src="javascript/html5.js"></__script>
<![endif]-->

I can also see it in the page source, so can't really understand what the problem would be.

please see this url http://a-twister.net/ on IE 8 or less and you/ll see what i mean,

Thanks for the help..
User avatar
magallo
Dev Team Member
Dev Team Member
Posts: 121
Joined: Thu Mar 24, 2011 12:37 am

Re: IE Layout messed up before refresh [solved]

Post by magallo »

i found a post that had a similar problem

http://forum.cmsmadesimple.org/viewtopi ... ilit=html5

I actually "solved" my problem by changing the <header> tag of my html5 with <div id="header"> and changing the css.

This is a workaround that works however may be worth looking in to it as html5 is becoming a standard.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: IE Layout messed up before refresh

Post by Dr.CSS »

Which has absolutely nothing to do with CMSMS...
User avatar
magallo
Dev Team Member
Dev Team Member
Posts: 121
Joined: Thu Mar 24, 2011 12:37 am

Re: IE Layout messed up before refresh

Post by magallo »

I thought the problem was solved but it didn't. After removing all html5 tags i still get the same problems.
When first loaded, the homepage css get messedup but after refresh all goes well.
I'm almost convinced this is a cmsms problem as it's probably not loading all parts as needed. Never had this problem before on any other platform.

I added to pics so you can see what i mean...
I'd appreciate any recommendation.
Attachments
After refresh
After refresh
Before refresh
Before refresh
Locked

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