homepage Welcome to WebmasterWorld Guest from 54.204.94.228
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
page randomly chooses to display in IE8
html and css validate but page sometimes chooses to load, sometimes doesnt
mattpone

5+ Year Member



 
Msg#: 4190950 posted 3:17 pm on Aug 23, 2010 (gmt 0)

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

10+ Year Member



 
Msg#: 4190950 posted 3:28 pm on Aug 23, 2010 (gmt 0)

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

5+ Year Member



 
Msg#: 4190950 posted 3:53 pm on Aug 23, 2010 (gmt 0)

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

10+ Year Member



 
Msg#: 4190950 posted 3:55 pm on Aug 23, 2010 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved