ollie007 Posted June 18, 2009 Share Posted June 18, 2009 when IE encounters display:none; it wont finish loading the page and says, "Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2) Timestamp: Thu, 18 Jun 2009 03:48:24 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: http://domain.com/index" how can i prevent this? Quote Link to comment https://forums.phpfreaks.com/topic/162705-ie-wont-finish-loading-page-with-displaynone/ Share on other sites More sharing options...
swilla Posted June 19, 2009 Share Posted June 19, 2009 It all depends on where the display:none; is located. Normally when this happens its because the div tag is not closed appropriately so the page does not finish loading. Quote Link to comment https://forums.phpfreaks.com/topic/162705-ie-wont-finish-loading-page-with-displaynone/#findComment-859360 Share on other sites More sharing options...
rascle Posted June 20, 2009 Share Posted June 20, 2009 try using "display: none; return false;" Quote Link to comment https://forums.phpfreaks.com/topic/162705-ie-wont-finish-loading-page-with-displaynone/#findComment-860342 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.