wsyeager
Centurion
I'd like to link to another part of my document within my aspx page.
I have the following code in my HTML:
<code>
<A HREF="#PositionsHeld">Positions Held</A>
<asp:label id="lblPosition" style="Z-INDEX: 107; LEFT: 16px; POSITION: absolute; TOP: 816px"
runat="server" Font-Underline="True" Font-Bold="True" Font-Size="Larger">Positions Held</asp:label>
<H2 id="PositionsHeld"></H2>
</code>
I would like the link to go directly right after the above label. I thought I would be achieving this by using the "<H2 id="PositionsHeld"></H2>" . When I click on the link, it brings me down some on the document, but nowhere near this label.
What am I doing wrong?
I have the following code in my HTML:
<code>
<A HREF="#PositionsHeld">Positions Held</A>
<asp:label id="lblPosition" style="Z-INDEX: 107; LEFT: 16px; POSITION: absolute; TOP: 816px"
runat="server" Font-Underline="True" Font-Bold="True" Font-Size="Larger">Positions Held</asp:label>
<H2 id="PositionsHeld"></H2>
</code>
I would like the link to go directly right after the above label. I thought I would be achieving this by using the "<H2 id="PositionsHeld"></H2>" . When I click on the link, it brings me down some on the document, but nowhere near this label.
What am I doing wrong?