我正在使用Chrome构建网站,并且发现我的所有锚链接都不适用于IE或Firefox。
我在Wordpress中编码,如:
菜单链接:
http://dev.legendpower.com/contact/#Offices
锚:
<a name="offices" class="anchor"><h3 style="text-align: center;"><span
style="color: #000000;">Legend offices.</span></h3></a>
奇怪的是,整个网站上有一个页面,锚链接正在工作,我不能为我的生活找出该页面上有什么不同之处。那里的编码就像......
菜单链接:
http://dev.legendpower.com/markets/#Casestudies
锚:
<a name="casestudies" class="anchor"><h3 style="text-align: center;"><span
style="color: #000000;">Case studies.</span></h3></a><p></p><p>The case
studies below are just a subset of our customer-base. We’ve installed over
200 Harmonizers in almost every type of building. Click on an image to
access the case study.</p>
有人知道解决方法吗?
答案 0 :(得分:0)
请使用此代码段
<a href="http://dev.legendpower.com/contact/#Offices" name="casestudies"
class="anchor">The case studies below are just a subset of our customer-
base. We’ve installed over 200 Harmonizers in almost every type of
building. Click on an image to access the case study.</a>