Hello,
I have inserted <anchors> in topic titles..
<section id="introduction" xreflabel="introduction">
<title>About the administrator user and administrator password</title><anchor id="anchor.introduction"/>
and <links> around the text to jump to the topic title
<para>
<link linkend="anchor.introduction">About the administrator user and administrator
password</link>
</para>
In the DocBook HTML output in the browser, when you click a link, you end up one line below the title. Is there any remedy for this? I would like users to jump to the topic title.
Thanks,
Charlie
Anchor link to title delivers user to one line below title
-
- Posts: 24
- Joined: Thu Oct 18, 2007 7:17 pm
- Location: California
-
- Posts: 4144
- Joined: Fri Mar 28, 2003 2:12 pm
Hello,
The anchor element is inserted in the Docbook XML document with one line below the title element so I think the HTML link jumps correctly with one line below the title. If you want to jump directly to the title you should use the value of the id attribute of the section element in the link element:
Regards,
Sorin
The anchor element is inserted in the Docbook XML document with one line below the title element so I think the HTML link jumps correctly with one line below the title. If you want to jump directly to the title you should use the value of the id attribute of the section element in the link element:
Code: Select all
<link linkend="introduction">About the administrator user and administrator password</link>
Sorin
-
- Posts: 24
- Joined: Thu Oct 18, 2007 7:17 pm
- Location: California
Anchor jumps to one line below topic title
Hello Sorin,
Sorry for the delay in replying. I've been on vacation for 9 days. I'll make changes to the markup as you suggested.
Thanks again for your help.
Regards,
Charlie
Sorry for the delay in replying. I've been on vacation for 9 days. I'll make changes to the markup as you suggested.
Thanks again for your help.
Regards,
Charlie