Table of Contents



Removing the Left and Right Margins from Simple HTML Pages

By default, pages in the Simple HTML output format that have a header or footer include blank space to the left and right of all body content. To make more efficient use of the space available in the browser window, you may want to remove the left and right margins. You can do this by overriding the Page.asp template file.

To remove the left and right margins

  1. In your Stationery design project, on the View menu, click Project Directory. For more information about override files and locations, see “Understanding Stationery, Projects, and Overrides” on page 373.

  2. If you want to override the default settings for 'all Simple HTML targets' in the 'project, create the Formats\Simple HTML\Pages folder in your project folder.

  3. If you want to override the default settings for a specific 'target, create the Targets\targetname\Pages folder in your project folder, where targetname is the name of the target you want to override.

  4. Copy the Page.asp file from the following folder to the override folder you created within your project folder:

Program Files\WebWorks\ePublisher Pro\Formats\Simple HTML\Pages

  1. Open the Page.asp file you copied to your project override folder.

  2. Find the following block of code and change blockquote to div in both places:

<blockquote wwpage:condition="header-footer-exists" wwpage:content="content">
Page content with header/footer.

  1. Save and close the Page.asp file.

ePublisher/2009.3/Help/02.Designing_Templates_and_Stationery/4.32.Customizing_Stationery (last edited 2009-11-16 17:11:52 by TonyMcDow)