FP: Creating Zero Margins in FrontPage for Netscape Navigator 4

Last reviewed: March 18, 1998
Article ID: Q180349
The information in this article applies to:
  • Microsoft FrontPage 98 for Windows
  • Microsoft FrontPage 97 for Windows with Bonus Pack

SUMMARY

The following article describes the process of creating zero margins for Netscape Navigator 4.

MORE INFORMATION

Problems produced by editing the HTML that FrontPage generates will not be resolved by Microsoft Technical Support. This HTML Code sample is provided as a convenience for authors seeking to extend FrontPage's capabilities. For more information on writing HTML, see

   http://www.microsoft.com/workshop/author/newhtml/default.htm.

WARNING: ANY USE BY YOU OF THE HTML PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this HTML "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Microsoft FrontPage generates the following HTML code for 0 Top margin and 0 Left margin:

   <body topmargin="0" leftmargin="0">

This code is not recognized by Netscape Navigator 4.

FrontPage 98

In order to have Netscape Navigator 4 display 0 (zero) margins, follow these steps:

  1. Open a page in FrontPage Editor.

  2. Right-click on the page, and then click Page Properties on the menu that appears.

  3. In the Page Properties dialog box, click the Margins tab.

  4. Click to select the Specify Top Margin and Specify Left Margin check boxes and set each item to 0 (zero).

  5. Click OK.

  6. Place the insertion point in the upper-left corner of the page.

  7. On the Insert menu, click FrontPage Component.

  8. In the Insert FrontPage Component dialog box, click Insert HTML.

  9. Place the following code in the Insert HTML box, and then click OK:

          <layer top="0" left="0" width="100%">
    

FrontPage 97

  1. Open a page in FrontPage Editor.

  2. Right-click on the page, and then click Page Properties on the menu that appears.

  3. In the Page Properties dialog box, click the Margins tab.

  4. Click to select the Specify Top Margin and Specify Left Margin check boxes and set each item to 0 (zero).

  5. Click OK.

  6. Place the insertion point in the upper-left corner of the page.

  7. On the Insert menu, click HTML Markup.

  8. Place the following code in the Insert HTML box and click OK:

          <layer top="0" left="0" width="100%">
    

Netscape Navigator is manufactured by Netscape Communications Corporation a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.


Additional query words: fpedit html
Keywords : fpedit fphtml kbdta
Version : WINDOWS:97,98
Platform : WINDOWS
Hardware : x86
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.