Changes

Jump to: navigation, search
no edit summary
== '''2. Static Headers, Footers & Page Numbers''' ==
You should never statically code headers, footers, or page numbers in a document that will be converted to PDF. Since most [[Web Page View | Web Page]] documents are configured to be dynamic, their size will also be dynamic. Additionally, page lengths can change based on content. Instead, use PD4ML-defined headers and footers. They will be generated dynamically and correctly reference the various pages.
== '''3. Relative Element Sizing''' ==
When configuring a [[Web Page View | Web Page]] for PDF conversion, you should have a definitive page size in mind. As such, you should use static pixel measurements to define the various dimensions of page elements such as tables, divs, etc. This will ensure that your content will always be confined to the appropriate paper size. You'll be given more control over the visual layout of your page no matter the size of content. You can avoid cutting off tables in between pages by using a style="PAGE-BREAK-inside: avoid" attribute on your tables.
[[Category:Chin’s Musings]]
Smartstaff, administrator
686
edits

Navigation menu