我的迷你网站在Chrome中运行良好,但不适用于IE。有人可以告诉我它为什么没有吗?
<!DOCTYPE html>
<html>
<head>
<title>Steves Homepage</title>
<style>
#left {
float:left;
margin:0;
padding:0;
width:33%;
;
}
#right {
float:right;
margin:0;
padding:0;
width:33%;
}
#middle {
float:left;
width:33%;
}
#wrapper {
width:100%;
}
li {
list-style-type: none;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="left">
<ul>
<li><b>Useful Docs</b></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/Passwords.txt">Passwords</a>
</li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/Server Naming Convention.txt">Server Naming Convention</a></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/Numbers.txt">Common Phone Numbers</a></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/GPO.txt">GPO</a></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/Useful Emails.txt">Useful Emails</a></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/F5 Notes.one">F5 Notes</a></li>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<b>Spreadsheets</b>
<li><a href="file://///birmingham-nas/nsd/Engineering/Official_Structure/DSL_details/EMEA_DSL_Details.xls">DSL Details</a></li>
<li><a href="file://///birmingham-nas/nsd/Engineering/Official_Structure/EMEA-IP_ADDR_ALLOCATION_LISTS/EMEA-WAN-&-Remote_Site_Subnets-Loopbacks.xls">IP Spreadsheet</a></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/Telephone Numbers.xls">Phone Numbers</a></li>
</ul>
</div>
<div id="middle">
<ul>
<li><b>Configurations</b></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/MRV Config/MRV Config.txt">MRV Config</a></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/MRV Config/MRV Lines.txt">MRV Lines</a></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/DMVPN Config.txt">DMVPN Config</a>
</li>
<li><a href="file://///birmingham-nas/nsd/Engineering/Official_Structure/Remote Office Standards/New-PDU-Setup.doc">PDU</a>
</li>
<li><a href="file://///birmingham-nas/nsd/Engineering/Official_Structure/Remote Office Standards/UPS-Setup.doc">UPS</a>
</li>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<b>Websites</b>
<li><a href="http://emea-orion">Orion</a>
</li>
<li><a href="http://rhitime/planview">Timesheets</a>
</li>
<li><a href="http://itportal/sites/ProdSvcs/ChangeSvcs/default.aspx">Change Management</a>
</li>
<li><a href="http://onyx/oep_win/powerpage/application_main.asp?profileid=1&profilename=OEP%20User&ucfsafemode=0">Onyx</a>
</li>
<li><a href="https://ra.rhi.net/">Juniper VPN</a></li>
</ul>
</div>
<div id="right">
<ul>
<li><b>How To Guides</b>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/Meeting Rooms.txt">Meeting Rooms</a></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/Activations/Masergy Activations.txt">Activations</a></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/Engineer Dispatch Guide.txt">Engineer Dispatch Guide</a></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/Temperature Issues.txt">Temperature Issues</a></li>
<li><a href="file://///birmingham-nas/nsd/Engineering/Official_Structure/Remote Office Standards/Comms standards/RHI_EMEA_Comms_Standards_V5.2_Type_1.pdf">Comms Standards Normal</a></li>
<li><a href="file://///birmingham-nas/nsd/Engineering/Official_Structure/Remote Office Standards/Comms standards/RHI_EMEA_Comms_Standards_V5.2_Type_2.pdf">Comms Standards Large</a></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/Orion Back End.txt">Orion Back End</a></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/Orion Front End.txt">Orion Front End</a></li>
<li><a href="file:///c:/Users/stegar06/Desktop/Useful Stuff/New Site Deployment Checklist.txt">New Site Deployment Checklist</a></li>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<b>Useful Links</b>
<li><a href="file://///birmingham-nas/nsd">Birmingham NAS</a></li>
<li><a href="file://///C:/Users/stegar06/AppData/Roaming/VanDyke/Config">Secure CRT Files</a></li>
<li><a href="file://///birmingham-nas/nsd/Engineering/Official_Structure/Technical Content & Software/Software/Cisco IOS">IOS Images</a></li>
<li><a href="http://emea-pac:8083/proxy.pac">Proxy Pac File</a></li>
</ul>
</div>
</div>
</body>
</html>
在IE中,显示效果很好,但是当您点击任何链接时,它都不会将您引导至文件。我不明白为什么,因为必须正确引用它们,因为chrome会加载链接。
答案 0 :(得分:2)
您可以使用与当前文件夹相对应的相对地址。像
对于类似文件夹中的文件
<a href ="my_file.html">Link</a>
和一个lavel的文件夹
<a href="../another_folder/my_file.html"></a>
好的,如果你改变你的项目,你给定的绝对文件地址不起作用,但相对将工作正常