Welcome to WebmasterWorld Guest from 54.167.0.111

Forum Moderators: incrediBILL

Message Too Old, No Replies

page randomly chooses to display in IE8

html and css validate but page sometimes chooses to load, sometimes doesnt

     

mattpone

3:17 pm on Aug 23, 2010 (gmt 0)

5+ Year Member



my site validates for xhtml 1.0 transitional and for css, yet has a weird effect on IE8...

sometimes the page displays fine, sometimes, only the header displays and sometimes half the page displays?

refreshing often provides a different outcome?

I get the following error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB0.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30618; InfoPath.2)
Timestamp: Mon, 23 Aug 2010 15:17:10 UTC


Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0
URI: [chequersinn.net...]

Can anyone shed any light on this for me?

alias

3:28 pm on Aug 23, 2010 (gmt 0)

10+ Year Member



Some script on your webpage is trying to modify the 'parent container element before the child element is closed'.

The simplest solution in this case would be to wait for the DOM to reach the 'ready' state and then let your scripts to run.

mattpone

3:53 pm on Aug 23, 2010 (gmt 0)

5+ Year Member



ahh, looks like it could be the javascript, so if i put the code to the bottom of the page that should sort it hopefully?

alias

3:55 pm on Aug 23, 2010 (gmt 0)

10+ Year Member



It depends on what the script does, but yes, that very well might resolve the issue you're having.