phanton pdf : question on the border
-
Hi,
i am using the jsreport sdk to render pdf a based on the html input.
question that i have is i want to end the page border just above the footer section. but as of now, i see page border(right and left) extent still the footer. Is there a way to stop this.
please let me know, if my question is not clear.![alt text]( image url)please refer to the attached picture.
-Vikram
-
hi! can you please share an example of your template here? maybe there is something that can be done to achieve what you want but we need to take a look at your template and how do you have things in place there.
-
Hi, thanks for your reply. i have posted the my template here . https://playground.jsreport.net/studio/workspace/SyryHIuGG/2
-
hi! to solve that problem you can add the following css class to each of your tables
.unbreakable { /* page-break-inside: avoid !important; <-- doesn't work*/ display:inline-block; } .unbreakable:after { display:block; height:0px; visibility: hidden; }
updated example here
-
Thank you. It works perfectly. your solution is awesome.