anchor tags on page
-
I’m having trouble with anchor tags on a page. These are the links that jump to later sections on the same page. An example of the link is
To see the list of participating authors, <a href="#list">click here</a>
and then the place that it jumps to is<div id="list"><h3>Participating Authors</h3></div>
In searching the forums I found several recommendations to put the id in the h3 tag, but that makes no difference. I looked at the source of the main page for the codex on this site because they use anchor tags for the table of contents. They use a format like
<a name="list" id="list"></a>
and that doesn’t work for me either.I was about to blame it on the theme or a plugin when I noticed that I have an Add comments link at the top of the page and it does jump to the comment form at the bottom of the page. The link is
<a href="#respond">Add comments</a>
and it jumps to<div id="respond">...
If there is a difference between the tag that works and the ones that don’t I’m not seeing it. Is it possible for the theme or a plugin to interfere with my links while the Add comment link still works? Is there something else I’m missing? This one has me totally stumped. I’m working on a test site to work out the bugs before posting on the main site. The test site page is http://fridayflash.org/test/test-i-write-fridayflash/
- The topic ‘anchor tags on page’ is closed to new replies.