0

我的迷你网站在 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 会加载链接。

4

1 回答 1

2

您可以使用相对于当前文件夹的相对地址。喜欢

对于类似文件夹中的文件

<a href ="my_file.html">Link</a>

和文件夹,这是一个上层

<a href="../another_folder/my_file.html"></a>

对此的好处是,如果您更改项目,则给定的绝对文件地址不起作用,但相对文件地址可以正常工作

于 2013-04-15T08:25:34.457 回答