Forum How do I...?

Link title as footnote

LcS
Hello!

I try to put the content of the <A> "title" attribute as footnote without sucess :-/

The HTML
blabla <a href="http://othersite.tld" title="This text as footnote">work linked</a> blabla


The CSS
.footnote {
  display: inline;
  content: attr(title);
  display: prince-footnote;        /* prince-specific rules */
  position: footnote;
  footnote-style-position: inside;
  counter-increment: footnote;
  margin-left: 1.4em;
  font-size: 90%;
  line-height: 1.4;
}


With this, the content of the footnote is fine but the "work linked" is not display in the text.

Any trick ?

Thank you.
mikeday
Change the selector to "a.footnote::after", so you are adding new content to the document, instead of replacing the current content.
LcS
Hello mikeday,

Thank you, it works fine!