View Single Post
Old 06-16-2020, 08:14 AM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,025
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by increase View Post
Thank you, do you have n example of the code for kindle?
Here is code that will work.
Code:
<p class="paraNoIndent">There are many kinds of vampires. Indeed, it is said that there are as many kinds of vampires as there are types of disease.<span class="footnoteRef"><a href="9780061807862_Footnote.xhtml#footnote1" id="footnote_1">[*]</a></span> And they’re not just human (if vampires are human). All along the Ramtops may be found the belief that any apparently innocent tool, be it hammer or saw, will seek blood if left unused for more than three years. In Ghat they believe in vampire watermelons, although folklore is silent about <i>what</i> they believe about vampire watermelons. Possibly they suck back.</p>
Here is the back code.
Code:
<p class="footnote" id="footnote1"><span class="footnotePara"><a href="9780061807862_Chapter_1.xhtml#footnote_1">[*]</a> Which presumably mean that some are virulent and deadly, and others just make you walk in a funny way and avoid fruit.</span></p>
Here is the CSS code.
Code:
body {
  widows: 1;
  orphans: 1;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  text-align: justify;
}
img {
  max-width: 100%;
  max-height: 100%;
}
p {
  margin-top: 0;
  margin-bottom: 0;
  text-indent: 1.2em;
}
.aboutAuthorPage {
  page-break-before: always;
}
.aboutAuthorText {
  text-align: justify;
  text-indent: 0;
  margin-top: 0;
  margin-bottom: 0.8em;
}
.chapterNumber {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
  text-align: center;
  text-indent: 0;
  font-size: large;
  font-weight: bold;
}
.chapterOpenerText {
  margin-bottom: 0;
  margin-top: 0;
  margin-left: 0;
  text-indent: 0;
}
.contentsHead {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
  text-align: center;
  text-indent: 0;
  font-size: large;
  font-weight: bold;
}
.copyrightPage {
  page-break-before: always;
}
.copyrightText {
  font-size: small;
  margin-top: 0.8em;
  font-weight: normal;
  margin-bottom: 0;
  text-indent: 0;
  text-align: justify;
}
.footnote {
  margin-bottom: 1.5em;
  font-style: normal;
  font-weight: bold;
  text-indent: 1.5em;
  text-align: justify;
}
.footnotePara {
  margin-bottom: 2em;
  font-style: normal;
  font-weight: normal;
  text-indent: 0;
  text-align: justify;
}
.footnoteRef {
  display: inline;
  font-style: normal;
  font-weight: bold;
  vertical-align: top;
}
.paraCenter {
  margin-bottom: 2%;
  text-indent: 0;
  text-align: center;
}
.paraNoIndent {
  padding-top: 2em;
  text-indent: 0;
  text-align: justify;
}
.paraNoIndent1 {
  padding-top: 1em;
  text-indent: 0;
  text-align: justify;
}
I've posted the entire CSS.

It's the use of the ID that says where the links land in the XHTML file.
JSWolf is offline   Reply With Quote