我试图在所有页面上打印页脚,包括页码,但没有找到任何解决方案。我尝试使用
#footer{position: fixed; bottom:0;}
您可以在内容中添加与页脚高度相同的 margin-bottom ,以确保正文内容和页脚之间有一个空白空间。