Changes

Jump to: navigation, search
3. Using relative element sizing
You should never statically code headers, footers, or page numbers in a document that will be converted to PDF. Since most Web Page View 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. Using relative element sizingRelative Element Sizing''' ==
When configuring a Web Page View 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]]
0
edits

Navigation menu