• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Anchor Problem

B

bogus

Guest
#1
I want to create a Page with some FAQs
At the end of the Page i would like to add an anchor that brings you back to the top.
Also i would like to add an anchor to every topic ( click to the topic will move you to the content)
But that´s not working. As soon as i add an anchor i do have the complete Board URL.

"Top" will be http://www.brainlag.eu/#top
Is there any solution or any other way i can solve that?

Code:
<div style="margin-left: 262px; margin-top: -10px">
    <div class="sectionMain">
        <h1 class="heading">FAQ Database</h1>
        <div class="primaryContent">
        <a name="top"></a>
            <img src="http://www.brainlag.eu/styles/wikiFlags/de.jpg"></img><b>Wie richte ich meinen BNC ein?</b></a>
            Alle wichtigen Daten bekommst du, nach erfolgreichem Request, von brainlag im Query.<br></a>
            <a href="#top">&uarr; TOP</a>
        </div>
    </div>
</div>
The Code is just an example, there will be much more content, why i would like to use anchors for an easier navigation.