If we use a phantomjs script server side to convert our documents containing a header, phantomjs will ignore the margin-top a the first element, causing an serious issue for rendering coherence between the HTML view in the editor and the rendered PDF.
To obtain the same rendering, we can add a new "bogus" element on to of the headfoot-body element:
If we use a phantomjs script server side to convert our documents containing a header, phantomjs will ignore the margin-top a the first element, causing an serious issue for rendering coherence between the HTML view in the editor and the rendered PDF.
To obtain the same rendering, we can add a new "bogus" element on to of the headfoot-body element:
so:
This element can be added manually but the headersfooters plugin should add it automatically