September 16, 2001 - Controlling LAYOUTRECT's Look | WebReference

September 16, 2001 - Controlling LAYOUTRECT's Look

Yehuda Shiran September 16, 2001
Controlling LAYOUTRECT's Look
Tips: September 2001

Yehuda Shiran, Ph.D.
Doc JavaScript

The LAYOUTRECT element supports several properties that you can use to control what pages will look like. The border property lets you control the width of the border to draw around the page. The property borderColor lets you specify the color of the border. You can also set the margin around the content. Use marginHeight to specify the width of the top and bottom margin. Use marginWidth to specify the width of the right and left margin.

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.