Jquery 在每个html打印页面上显示页脚
我想在所有打印页上显示我的页脚,但它只在最后一页显示,对我来说没有任何效果。如果有人知道的话 我已经搜索了很多css建议,但是没有任何东西适合我。我的技术只在最后一页显示页脚。但我需要在所有可打印页面上显示Jquery 在每个html打印页面上显示页脚,jquery,html,css,Jquery,Html,Css,我想在所有打印页上显示我的页脚,但它只在最后一页显示,对我来说没有任何效果。如果有人知道的话 我已经搜索了很多css建议,但是没有任何东西适合我。我的技术只在最后一页显示页脚。但我需要在所有可打印页面上显示 <style type="text/css"> html, body { height: 98.5%; width: 98%; } .wrapper { min-height: 98.5%; width: 98%; height: auto
<style type="text/css">
html, body {
height: 98.5%;
width: 98%;
}
.wrapper {
min-height: 98.5%;
width: 98%;
height: auto !important;
height: 98.5%;
margin: 0.3in 0.5in -0.1in 0.5in;
}
.footer, .push {
margin-bottom: 0px;
height: 10px;
text-align: center;
}
.attachment-watermark-print {
font-size: 20px;
font-weight: bold;
opacity: .5;
}
</style>
在css中使用此选项
.attachment-watermark-print {
position:absolute;
bottom:0;
font-size: 20px;
font-weight: bold;
opacity: .5;
}
并在.footer类中添加这些附加属性
.footer {
position:relative;
}
谢谢,但是这个方法对我仍然不起作用,它只在打印模式下显示最后一页的水印。上面的CSS没有我在谷歌Chrome中的问题。。。请问有没有chrome的解决方案..securedeveloper
.footer {
position:relative;
}