在 CSS 中,我试图弄清楚是否有编码使脚注始终(或至少开始)与正文中的相应编号位于同一页面上。我目前正在体验一个程序(Pressbooks),有时脚注会出现在正文中的编号之后的页面上。当脚注编号位于正文最后四行的任何位置时,就会发生这种情况。您可能建议修复的任何编码?
以下是相关编码:
@page {
@footnotes {
border-top-style:solid;
border-top-width:thin;
border-top-color:black;
margin-bottom: 20px;
margin-top: 20px;
padding-top: 0.5em; } }
.footnote {
font-size: 0.75em;
display: footnote;
display: prince-footnote;
position: footnote;
counter-increment: footnote;
footnote-style-position: inside;
margin: 0 0 5px 5px;
padding-left: 0px;
text-indent: -10px;
line-height: 1.4;
text-align: left; }
.footnote {
font-size: 0.875em;
display: footnote;
display: prince-footnote;
prince-footnote-policy: keep-with-line;
position: footnote;
counter-increment: footnote;
footnote-style-position: inside;
margin-left: 0px;
line-height: 1.4;
text-indent: 0em;
text-align: justify; }