this feels like it has to be a solved problem already but i can't find anything searching online. i have a table for line items on an invoice PDF that I want to have with borders all around it. if i just do border = 1px, it will double up the borders that overlap. in non-netsuite html/css, you can solve this problem by using border-collapse, but that doesn't seem to work on PDFs. so instead I did an if line_has_next and set the bottom-border to 0px if it has a line below it. however, that's now not working if the lines go onto a 2nd page because the last line on the first page knows it has next so it leaves the border 0, which is not ideal. any ideas on better ways to solve the border duplication issue or a way to identify the last item that will print on each page or something?