Changing appearance of FN links in webhelp

dgallo
Posts: 90
Joined: Tue Mar 31, 2015 10:43 pm

Changing appearance of FN links in webhelp

Post by dgallo » Wed Mar 29, 2017 10:31 pm

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: 141
Joined: Thu Dec 24, 2009 11:21 am

Re: Changing appearance of FN links in webhelp

Post by alin » Fri Mar 31, 2017 4:17 pm

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