如何在Html中打印每页底部边框的页面

如何在Html中打印每页底部边框的页面

问题描述:

前段时间,我看了很多,找到了在html中每页底部打印带边框的页面的方法,似乎无法找到方法。我找到了几个解决方案,但是这些解决方案甚至错误或只适合内容。



请提供任何建议或替代方法来完成此任务。



< style type =text / css>

@media print

{ b $ b}

< / style>

A while ago, I looked far and wide to find the way to print a page with border around at the bottom of each page in html, and couldn't seem to find a way to do it. I found a couple of solutions, but those even error out on me or it just fit to the content .

Please provide me any suggestion or alternate way to do this task.

<style type="text/css">
@media print
{
}
</style>

Hay!



查找以下解决方案以查询您的查询。



http://codepen.io/ashishbhatt/pen/KzcEA / [ ^ ]



这只是您的查询演示,您可以改进它。
Hay!

Find below solution for your query.

http://codepen.io/ashishbhatt/pen/KzcEA/[^]

This is just demo for your query, your can improve on it.