Customizing Stationery for Output Format-Specific Features : Customizations Specific to Simple HTML : Removing the Left and Right Margins from Simple HTML Pages
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”.
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 Designer\Formats\Simple HTML\Pages
5. Open the Page.asp file you copied to your project override folder.
6. 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.
</blockquote>
7. Save and close the Page.asp file.