Anchor being covered by fixed Menu
Possible Duplicate:
HTML position:fixed page header and in-page anchors
Scroll to anchor with fixed header, content hidden behind header, margin and top padding not working
I am looking for some help please. I am building a site with a fixed menu at the top. I have a section in the site where people can click on a year, and the page will scroll to that section (I am using anchors) Here is the problem. when you click on a year, the page scrolls down to the right place but the year is covered by the menu. Is there a way to push the anchor down by about 45px/50px so that the menu is not cover the year?
您可以将锚点放在较高的位置,也许在上一节底部附近的某处,以便显示年份。
链接地址: http://www.djcxy.com/p/62052.html上一篇: 在内容中显示的html标签
下一篇: 固定菜单覆盖锚点