简体   繁体   中英

Print Label at bottom of last page in Html

I want to print the highlighted content (see screenshot) at the bottom of the last page in my HTML report. When I set position:fixed; , it's coming on each page.

买家确认

 .BuyerSign { height: 40px; vertical-align: bottom; width: 28%; padding-left: 25px; text-align: right; bottom:0px !important; /*bottom: 0px !important;*/ /*bottom:-200px !important; position:relative !important;*/ }
 <div class="BuyerSign" style=""> <label style="border-top:1px solid #000;text-align:center;"> Buyer Confirmation </label> </div>

u should set the container div to relative:

 .BuyerSign { position:relative; bottom:0px; height: 40px; vertical-align: bottom; width: 28%; padding-left: 25px; text-align: right; }
 <div class="BuyerSign" style=""> <label style="border-top:1px solid #000;text-align:center;"> Buyer Confirmation </label> </div>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM