NetSuite Advanced PDF 模板是否支持绝对定位?

Does NetSuite Advanced PDF Template Support Absolute Positioning?

我试图将我的 table 放在我的 PDF 页面的底部。但是,当我使用 "position: absolute; bottom: 0px;" 定义我的 table 位置时,我总是得到 "unexpected error"。

参见 http://bfo.com/products/report/docs/userguide.pdf(第 24 页)

There is one critical condition when using absolutely positioned elements; the element cannot be the child of the BODY element. This is because unlike HTML, elements must be assigned to a page before they can be positioned, but as absolutely positioned items are independent of their siblings, there’s no way to decide which page they go on. To position an item at an absolute position on a specific page, it can be placed in a “background-macro” which is then assigned to the page.

您可以使用 position: absolute;,但它需要在容器中 <div>background-macro