thanks for the response. i’ve resolved that problem.

no, i want to add a header and footer to the rendered pdf doc.
for this i’ dooing the following:

private PD4PageMark getPageHeader(String htmlString)
String headerBody = “

PD4PageMark header = new PD4PageMark();
header.setAreaHeight( -1 ); // autocompute
header.setHtmlTemplate( headerBody );
return header;

In my html document, in the CSS file i have a stule class which difines the “header” with a background image.
How can i use the same CSS file when adding a header to the pd4ml object?