Anchor link to title delivers user to one line below title
Oxygen general issues.
-
- Posts: 24
- Joined: Thu Oct 18, 2007 7:17 pm
- Location: California
Anchor link to title delivers user to one line below title
Post by Charlie Williams »
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
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
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
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
Post by Charlie Williams »
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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service