-2

一位朋友很久以前通过 Microsoft Publisher 设计了一个网站,刚回来发现它无法在最新版本的 chrome 和 firefox 上加载。如果页面在本地加载,整个网站都可以正常工作,但通过网络,它只显示背景颜色。

我想知道这是编码问题还是其他问题。如果需要,我可以提供一些代码,但它非常混乱(因为它来自发布者)。

网站是hka.net.nz

<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<link rel=File-List href="index_files/filelist.xml">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
b\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<meta name="description"
content="houses design, residential, commercial and retail design">
<meta name="keywords"
content="houses design, residential, commercial and retail design">
<title>h a f e e d + k u b b a  architects</title>
<style>
<!--
 /* Style Definitions */
ol
    {margin-top:0in;
    margin-bottom:0in;
    margin-left:.25in;}
ul
    {margin-top:0in;
    margin-bottom:0in;
    margin-left:.25in;}
@page
    {size:8.2673in 11.6923in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="3089" fill="f" fillcolor="white [7]"
  strokecolor="black [0]">
  <v:fill color="white [7]" color2="white [7]" on="f"/>
  <v:stroke color="black [0]" color2="white [7]">
   <o:left v:ext="view" color="black [0]" color2="white [7]"/>
   <o:top v:ext="view" color="black [0]" color2="white [7]"/>
   <o:right v:ext="view" color="black [0]" color2="white [7]"/>
   <o:bottom v:ext="view" color="black [0]" color2="white [7]"/>
   <o:column v:ext="view" color="black [0]" color2="white [7]"/>
  </v:stroke>
  <v:shadow color="#ccc [4]"/>
  <v:textbox inset="2.88pt,2.88pt,2.88pt,2.88pt"/>
  <o:colormru v:ext="edit" colors="black,#ddd,#969696,red,#c60,white"/>
 </o:shapedefaults><o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
 </o:shapelayout></xml><![endif]-->
</head>

<body link="#0066FF" vlink="#6633CC" bgcolor=black style='margin:0'>

<div style='position:absolute;width:7.9319in;height:6.2236in'>
<!--[if gte vml 1]><v:rect id="_x0000_s1267" href="index_files/4kHouse1.htm"
 style='position:absolute;left:81pt;top:354pt;width:282pt;height:92.96pt;
 z-index:138;mso-wrap-distance-left:2.88pt;mso-wrap-distance-top:2.88pt;
 mso-wrap-distance-right:2.88pt;mso-wrap-distance-bottom:2.88pt'
 o:preferrelative="t" filled="f" fillcolor="white [7]" stroked="f"
 strokecolor="black [0]" insetpen="t" o:cliptowrap="t">
 <v:fill color2="black [0]"/>
 <v:stroke color2="white [7]">
  <o:left v:ext="view" color="black [0]" color2="white [7]" joinstyle="miter"
   insetpen="t"/>
  <o:top v:ext="view" color="black [0]" color2="white [7]" joinstyle="miter"
   insetpen="t"/>
  <o:right v:ext="view" color="black [0]" color2="white [7]" joinstyle="miter"
   insetpen="t"/>
  <o:bottom v:ext="view" color="black [0]" color2="white [7]" joinstyle="miter"
   insetpen="t"/>
  <o:column v:ext="view" color="black [0]" color2="white [7]"/>
 </v:stroke>
 <v:imagedata src="index_files/image538.jpg" o:title="Logo" cropbottom="19583f"
  gain="79922f"/>
 <v:shadow color="#ccc [4]"/>
 <v:path o:extrusionok="f" insetpenok="f"/>
 <o:lock v:ext="edit" aspectratio="t"/>
</v:rect><![endif]--><![if !vml]><span style='position:absolute;z-index:138;
left:108px;top:472px;width:376px;height:124px'><a
href="index_files/4kHouse1.htm"><img border=0 width=376 height=124
src="index_files/image5381.jpg" v:shapes="_x0000_s1267"></a></span><![endif]><!--[if gte vml 1]><v:line
 id="_x0000_s1268" href="index_files/4kuouse2.htm" style='position:absolute;
 z-index:139;mso-wrap-distance-left:2.88pt;mso-wrap-distance-top:2.88pt;
 mso-wrap-distance-right:2.88pt;mso-wrap-distance-bottom:2.88pt' from="5in,416.51pt"
 to="369pt,416.51pt" strokecolor="white [7]" o:cliptowrap="t">
 <v:stroke endarrow="block" endarrowwidth="wide" endarrowlength="long"
  color2="white [7]">
  <o:left v:ext="view" color="black [0]" color2="white [7]"/>
  <o:top v:ext="view" color="black [0]" color2="white [7]"/>
  <o:right v:ext="view" color="black [0]" color2="white [7]"/>
  <o:bottom v:ext="view" color="black [0]" color2="white [7]"/>
  <o:column v:ext="view" color="black [0]" color2="white [7]"/>
 </v:stroke>
 <v:shadow color="#ccc [4]"/>
 <v:path insetpenok="f"/>
</v:line><![endif]--><![if !vml]><span style='position:absolute;z-index:139;
left:479px;top:547px;width:15px;height:17px'><map name=MicrosoftOfficeMap0><area
shape=Rect coords="1, 8, 13, 9" href="index_files/4kuouse2.htm"></map><img
border=0 width=15 height=17 src="index_files/image642.gif"
usemap="#MicrosoftOfficeMap0" v:shapes="_x0000_s1268"></span><![endif]><!--[if gte vml 1]><v:rect
 id="_x0000_s1306" href="index_files/4kHouse1.htm" style='position:absolute;
 left:213pt;top:246pt;width:93pt;height:91.34pt;z-index:163;
 mso-wrap-distance-left:2.88pt;mso-wrap-distance-top:2.88pt;
 mso-wrap-distance-right:2.88pt;mso-wrap-distance-bottom:2.88pt'
 o:preferrelative="t" filled="f" fillcolor="white [7]" stroked="f"
 strokecolor="black [0]" o:cliptowrap="t">
 <v:fill color2="white [7]"/>
 <v:stroke color2="white [7]">
  <o:left v:ext="view" color="black [0]" color2="white [7]"/>
  <o:top v:ext="view" color="black [0]" color2="white [7]"/>
  <o:right v:ext="view" color="black [0]" color2="white [7]"/>
  <o:bottom v:ext="view" color="black [0]" color2="white [7]"/>
  <o:column v:ext="view" color="black [0]" color2="white [7]"/>
 </v:stroke>
 <v:imagedata src="index_files/image402.jpg" o:title="image537"/>
 <v:shadow color="#ccc [4]"/>
 <v:path o:extrusionok="f" insetpenok="f"/>
 <o:lock v:ext="edit" aspectratio="t"/>
</v:rect><![endif]--><![if !vml]><span style='position:absolute;z-index:163;
left:284px;top:328px;width:124px;height:122px'><a
href="index_files/4kHouse1.htm"><img border=0 width=124 height=122
src="index_files/image4021.jpg" v:shapes="_x0000_s1306"></a></span><![endif]>
</div>

</body>

</html>
4

1 回答 1

2

很难说没有看到,但听起来好像缺少 JS 脚本或 CSS 样式表,或者有硬编码的本地参考,例如

<script src="C:\Local\Path\To\Script.js"/>

<link rel="stylesheet" href="C:\Local\Path\To\Stylesheet.css"/>

编辑:如果它依赖于 JavaScript 进行初始化,您还应该检查是否有 JS 错误。打开 Web 开发者控制台或 Firebug 以检查脚本错误。

编辑:您充满了隐藏其他浏览器内容的IE 特定条件注释。

于 2013-06-28T05:13:17.973 回答