FAQ: Adding a custom header to print view
Sometimes it's useful to add a custom header to the printview of all powerDOCUMENTs
to identify the type of document or the company which created the document.
You can do this by following these steps:
- Create an image (.gif or .jpg) of your header
If you want to use a combination of text and graphics as a header you will
have to create an image containing the complete combination. You can use a
'.gif' with transparent background if you want the background color be visible.
Place this picture in the program folder of powerDOCUMENTS
(default path: "c:\Program Files\KLV\powerDOCUMENTS 2").
- Add the following text to the end of the CSS-File "sTotal.css" (located in the
same folder):
BODY {
background-image: url(xxx.gif);
background-repeat: no-repeat;
background-position: top center;
padding-top: 80px;
}
"xxx.gif" has to be replaced by the filename of your image file. Older versions
of Internet Explorer may require to give a full pathname not containing spaces
(e.g.: "C:\Progra~1\klv\powerd~1\xxx.gif")
"80px" has to be adjusted to make sure the header image is not overlayed
by the text of the document.
|
|
|