have to put page number on "footer-image-logo" while printing webpage
i have set footer-image in print page by using this code.
@media print {
div.divFooter {
position: fixed;
background: url(http://path/to/image.png);
height: 100px; /* put the image height here */
wid开发者_C百科th: 100px; /* put the image width here */
bottom: 0;
}
}
i have to put dynamic page no. like 1/5 , 2/5 , 3/5..etc where 5 is total no of page..how can i do this?
@page {
@bottom-left {
content: counter(page) "/" counter(pages);
}
}
精彩评论