2011-11-10 46 views
-1

我有一個奇怪的問題...我正在開發一個網絡應用程序來搜索房屋出租,並且該網站在FF,Chrome中顯示很好,但在IE中我得到一個白頁。 ... 你能否提示一下代碼?也許一些java腳本問題? 我已經挖了,但我被困住了。僅在IE8/IE9中顯示的白頁

+0

對不起,鏈接是http://rentforme.net –

回答

0

的問題是:

</head> 
<!--[if lt IE 7]> 
<div style='border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: relative;'> 
<div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'&gt;&lt;a href='#' onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'&gt;&lt;img src='http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg' style='border: none;' alt='Close this notice'/></a></div> 
<div style='width: 640px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'>-->; 
</head> 

你有2頭結束標記之間,並且你有一個大空div。這就是IE上顯示的內容。