|
September 18, 2001 Installing HeaderFooter Tips: September 2001
Yehuda Shiran, Ph.D.
|
|
The HeaderFooter behavior converts header and footer formatting strings from the Page Setup dialog box into an HTML code. You insert the HeaderFooter behavior by a HEADERFOOTER element, next to the TEMPLATEPRINTER element. You need to specify its ID and close the bracker with a slash (/). Also, don't forget the IE XML namespace. Here is an example:
The HeaderFooter behavior functions correctly only when inside a print template, i.e. a TEMPLATEPRINTER element is installed.To learn more about print templates, read Column 89 (Print Templates, Part I) and Column 91 (Print Templates, Part II: TemplatePrinter.) Download the Microsoft print template loader.
People who read this tip also read these tips: Look for similar tips by subject: |
| ||||||||||||||||||||