how to get rid of the gap at top of page in a frontpage website?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When designing a website in Frontpage there is always a one line gap at the
top of the pane, beneath the browser bar.
Is there any way of getting rid of this so that the top of the web page
meets the top?
Or is it just a feature of Frontpage?
 
Right click the page, select Page Properties, click the Advanced tab and
set the top margin to zero.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
Change this -

<div align="center">
<table cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" width="818"
height="941">

to this -

<div align="center">
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF"
width="818" height="941">

If you don't specify explict values for border, you will get the default
ones, even though you don't see one on the page.
 
Do all the tables, not just the top one.

Also, add this to the pages -

<style type="text/css">
<!--
body { margin:0; }
-->
</style></head>
 
Good luck. It's always a good idea to control your page margins this way
rather than in the body tag.
 
Back
Top