Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

i got this page: http://www.amirwebdeveloper.com/blog/common-sense-sensibility-and-accessibility-or-how-not-to-drive-the-surfer-mad-guide

im trying to make a inner page anchor:

<a href="#topic1">....</a>

content

<a name="#topic1">topic 1</a>
bla bla

for some reason it not scrolls.. anyone have a fix for it?

share|improve this question

1 Answer 1

Your anchor should point to an element with an id, e.g.

<a href="#topic1">....</a>

content

<h3 id="topic1">....</h3>

Otherwise the anchor doesn't have somewhere to point to.

Hope this helps.

share|improve this answer
    
I should point out that in the WordPress visual editor, there is no option to add an anchor point, and thus you should use something like the Tiny MCE Advanced plugin, which allows you to add the anchor point id. –  Dan Smart Jul 18 '11 at 8:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.