Hi Eric,
That does not sound right. It is not the default behavior of the XHTML stylesheet to wrap every para in an anchor tag. Most named anchors are empty elements. Although they may be rendered with opening and closing tags by some processors, they have no content, and certainly not a whole para. Can you provide more details of exactly which stylesheet and version you are using, and whether a customization layer is involved?

Bob Stayton
Sagehill Enterprises
[email protected]

--------------------------------------------------
From: "Eric Johnson" <[email protected]>
Sent: Monday, January 14, 2013 1:27 PM
To: <[email protected]>
Subject: [docbook-apps] Anchors Everywhere

Is there an easy way to limit the number of anchor tags that are generated in the XHTML output? Or to just have the anchor tags generated as empty elements that do not wrap the text?

It looks like nearly every p element has an a element that encloses the actual text. In Safari that is causing hover text to appear regardless of where the cursor stops. It is also hard to deal with CSS that includes styling for a:hover since pretty much everything is inside an a element.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to