Changing appearance of FN links in webhelp

Post here questions and problems related to editing and publishing DITA content.
dgallo
Posts: 90
Joined: Tue Mar 31, 2015 10:43 pm

Changing appearance of FN links in webhelp

Post by dgallo »

We would like to add [] around footnote links.

For example in the webhelp output, when there is a footnote cross reference we want it to look as follows:

______________________________________________________________________________________________________

Here is where the cross reference would be [1].


1 This is a footnote description.
alin
Site Admin
Posts: 268
Joined: Thu Dec 24, 2009 11:21 am

Re: Changing appearance of FN links in webhelp

Post by alin »

Hello,

You will have to contribute an additional CSS [1] to the WebHelp transformation scenario and include the following styling rules:

Code: Select all


a[name^="fnsrc_"] > sup:before {
content: "["
}

a[name^="fnsrc_"] > sup:after {
content: "]"
}
[1] https://www.oxygenxml.com/doc/versions/ ... n-css.html

Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply