这是我的网站:http://web.njit.edu/~dp257/boilerplate/Org.html点击侧边栏万维网,所有我想要做的就是向下滚动或跳转到页面的那个分区(万维网定义),但它喜欢删除页面的其余部分,除了那个分区。怎么会这样?
下面是我的网站代码:
<div id="wrapper">
<header id="name" align="center">IS117 TERMS</header>
<div id="primary_links" align="center">
<ul>
<li><a href="website.html">Home</a></li>
<li><a href="CSS.html">CSS</a></li>
<li><a href="HTML.html">HTML</a></li>
<li><a href="Org.html">Organizations</a></li>
<li><a href="Tech.html">Technologies</a></li>
</ul>
</div>
<div id="content">
<h1>Organizations</h1>
<div>
Client- the computers and devices that use web applications
</div>
<div>
Internet exchange point-a point in the world that connect many WAN’s
</div>
<div>
Internet- global system of interconnected networks
</div>
<div>
Internet service provider- Someone or company who owns a WAN and leases its access to their network
</div>
<div>
Intranet- network where only employees can run web applications typically they are in the same area
</div>
<div>
Local area network- a small network of computers that are near each other and communicate over short distances
</div>
<div>
Network-a system that allows clients and servers to communicate
</div>
<div>
W3C-world wide web consortium, group that develops standards, for code
</div>
<div>
Web browser-programs that access web pages
</div>
<div>
Web server- holds the files that make up a web application
</div>
<div>
WHATWG-community of people interested in evolving html, big source of info
</div>
<div>
Wide area network-2 or more LAN’s connected by a router
</div>
<div id="zz">
World Wide Web- components that bring together a web page to your desktop over the internet
</div>
</div> <!-- content -->
<div id="sidebar">
<div id="secondary_links">
<ul>
<li><a href="#">Client</a></li>
<li><a href="#">Internet Exchange Point</a></li>
<li><a href="#">Internet</a></li>
<li><a href="#">Internet Service Provide</a></li>
<li><a href="#">Intranet</a></li>
<li><a href="#">Local Area Network</a></li>
<li><a href="#">Network</a></li>
<li><a href="#">W3C</a></li>
<li><a href="#">Web Browser</a></li>
<li><a href="#">Web Server</a></li>
<li><a href="#">WHATWG</a></li>
<li><a href="#">Wide Area Network</a></li>
<li><a href="#zz">World Wide Web</a></li>
</ul>
</div>
</div>
</div>发布于 2013-10-15 09:06:28
在那个页面上有很多时髦的东西。我建议先从验证HTML开始。你可以在这里验证它- http://html5.validator.nu/?doc=http%3A%2F%2Fweb.njit.edu%2F%7Edp257%2Fboilerplate%2FOrg.html不要担心"X-UA-Compatible“错误,但你绝对应该修复其他的错误,然后从那里开始。
https://stackoverflow.com/questions/19371696
复制相似问题