Forum Samples, Tips and Tricks

How to select the last tr element of a page when it breaks

johnrayg
Hi please teach me how to select the last tr element of a table in a page when it breaks.
I need this because I need to put a different styling to that row, I need to put 2 lines underneath it.

  1. table-line.jpg133.4 kB
    two lines at the last item in tablepage
mikeday
This is not possible with CSS alone, but you can do it with some effort using JavaScript and running Prince twice as described here and in this example.