Re: [問題] 網頁顯示 少了 head ?

看板Web_Design作者 (撫星)時間19年前 (2007/05/08 04:13), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《Edster (Edster)》之銘言: : 各位好 我同學使用IE 開一些網站, 如博客來 : http://www.books.com.tw/ : 卻無法出現它的title : 如下 : http://kuso.cc/1BK$ : 這困擾我們好一陣子了, 因為不能搜尋書目. : 其他網站如 無名 則是無法出現圖片 : 看網站不能看照片 蠻不方便看的 : 請問要怎麼解決呢? 因為他用一種很噁心的寫法... in code line 14 is <script language="JavaScript" src="/js/inc1024/header_inc_wel.js"></script> and in the file http://www.books.com.tw/js/inc1024/header_inc_wel.js is some terrible codes such as: line 1 document.write('<head>'); line 3 document.write('</head>'); line 4 document.write('<script language="JavaScript" src="/js/wel_header2005.js"></script>');document.write(''); which means that there are two sets of <head>!! As for the division you can't see on your browser, it is just produced from the codes ranging from line 5 of the js file: document.write('<div align="center">...'); This div block is it. 也許IE7的容錯能力比IE6差, 所以導致看不見。 可是我不知道這段code的哪裡是出錯的地方; 也許是兩個head, 我不確定, 我還得再測試看看, 或者你可以自己重寫這網頁的這部份。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.115.21.205
文章代碼(AID): #16FuXb7R (Web_Design)
討論串 (同標題文章)
文章代碼(AID): #16FuXb7R (Web_Design)