Add image (company logo) in header section, while creating custom.css
Posted: Tue Nov 28, 2017 8:42 pm
Hi
I am trying creating a custom.css file for custom pdf output. I need my company logo to be on the header. Have written:
But the image is not coming on the generated pdf.
The image is placed in the "C:\Program Files\Oxygen XML Editor 19\frameworks\dita\DITA-OT2.x\plugins\com.oxygenxml.pdf.css\css\img" folder.
Please suggest the resolution to my issue.
I am trying creating a custom.css file for custom pdf output. I need my company logo to be on the header. Have written:
Code: Select all
@page :right {
@top-left {
content: string(maptitle) string(chaptertitle);
font-size:8pt;
}
@top-right {
content:url("logo-5.png");
width: 300px;
height: 100px;
image-resolution: 300dpi;
}
The image is placed in the "C:\Program Files\Oxygen XML Editor 19\frameworks\dita\DITA-OT2.x\plugins\com.oxygenxml.pdf.css\css\img" folder.
Please suggest the resolution to my issue.