I’m struggling for like week or so, with invoice look and feel, especially when need to generate PDF because it is preferred way of getting output as stated multiple times here. So I must ask couple of things. I’m not asking for programming help, just best ways of doing things? @lubos
Is it must to use
as container elements for output. I see all build in themes are based on tables. Will allstyle codding work, no tables (maybe tables in line item and totals, but no allover)? , also ? Or we are stuck with tables, and using thead,tfoot for reason of getting multiple page invoices work with heading and bottom on every sheet?
What is best method of positioning stuff inside tables? Obviously Manager set sizes of columns on his own, so using colspan or width is not giving consistent output all the time.
What is proper, or better say checked method of sizing columns, tables, divs, lines, or any element. For ex. I wand let say, on top before main table of items, a two cell table, floated right, taking exactly 10cm, so I could put there recipient company name , address, an output it always there, because we use windowed envelopes. So I cannot get any consistent sizing method to work (tried px, %, cm, etc, tried width, float, colspan, margins, padding) and always if it work on screen on PDF is disaster. So what to use for PDF.
For now I am sticking to plain theme, and make changes on it. I could post some code examples if needed, or pictures what I am trying to accomplish. I may have other layout questions I could not remember now, so maybe additional asked.