锚链加载位置错误

时间:2019-02-20 12:16:24

标签: html css wordpress scroll anchor

当我的锚指向同一页面上的锚时,它的工作状况很好。但是,当引用另一个页面时,它们会以偏移量加载。

锚点称为;

<a name="featuredwork">

链接是;

<a href="https://www.example.com/home/#featuredwork"><strong>FEATURED WORK</strong></a>

我在做什么错了?

0 个答案:

没有答案
相关问题