3 ms·
I would like to adopt something like this, but there are some pretty normal table functions in our current print solution that I don't know how to support in HT
by djs070 9y ago
I would like to adopt something like this, but there are some pretty normal table functions in our current print solution that I don't know how to support in HTML.
E.g. on a multi-page invoice, show a sub-total row at the bottom of each page. Does anyone know how to create this kind of function?
- pier25 9y agoIIRC you can solve that using CSS for print media. The browser will display a different CSS to the printer, so to speak.
- amigoingtodie 9y agoYes, and instead of px or em, you can use mm for css units (positioning, size, etc.).
- jakemauer 9y agoI'd be interested in this as well. The industry standard, PrinceXML, has a huge licensing fee (currently $3800 per server), but it's also rock solid, handles modern CSS, and has hooks for adding things like headers and footers for pages and tables.
- jessegavin 9y agoUse a <tfoot> element (unless you're actually trying to show a sub-total of just the page you're looking at).
- djs070 9y agoYeah literally need to add an invoice subtotal for the items on that page