get rid of white space at top of page, how

  • Thread starter Thread starter Patrick Fagan
  • Start date Start date
P

Patrick Fagan

http://workingpapers.org

There is a one inch margin at the top of my homepage, right above the yellow
table. I have set all the margins to 0, but it does not work. How do I get
rid of this white space at the top of the page?
 
You have no margin attributes in your body tag.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
You need to add the following to your pages:

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

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Right click on your page in FP, choose Page Properties, click on Margins tab
and set your margin(s) to "0" there.
 
However that only set the margin tags for IE, you have to manual add the
ones for NS or visit http://www.jimcoaddins.com for his FP add-in.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Thanks all to who replied. My margins were already set to 0 in FrontPage by
using Page Options. I am afraid that had no effect. The html code given by
Rowe had the most effect. However, even with topmargin set to 0 the white
space is cut only in half instead of the margin being flush with IE
browser's border. The left and right margins of the webpage do become flush
with the browser's borders using Rowe's code. The left/right margins are
fine, so I have this entered in the html:

<body topmargin="0" marginheight="0" marginwidth="0">

I tried the full tag and just single parts of this tag:

<body topmargin="0" leftmargin="5.5" marginheight="0" marginwidth="0">

but the white space is still there, although it is alot smaller now. Maybe
the top table on the page needs to have some code for its margin?

http://workingpapers.org
 
A couple of items...

1. Remove the empty <body> tag and just leave the following:

<body topmargin="0" marginheight="0" marginwidth="0">


Then move the following to right before the </head> tag

<script><!--
an=navigator.appName;sr='http://x3.extreme-dm.com/';srw="na";srb="na";d=docu
ment;r=41;function pr(n) {
d.write("<img
src=\""+sr+"n\/?tag=danli&p=http%3A%2F%2Fworkingpapers.org&j=y&srw="+srw+"&s
rb="+srb+"&l="+escape(d.referrer)+"&rs="+r+"\" height=1 width=1>");}//-->
</script><script language="javascript1.2"><!--
s=screen;srw=s.width;an!="Netscape"?srb=s.colorDepth:srb=s.pixelDepth//-->
</script><script><!--
pr()//-->
</script><noscript><img
src=http://x3.extreme-dm.com/z/?tag=danli&p=http://workingpapers.org&j
=n height=1 width=1></noscript>

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
PS
you also have 2 body tags (remove the 1st)
<body>
<body topmargin="0" marginheight="0" marginwidth="0">

--



| A couple of items...
|
| 1. Remove the empty <body> tag and just leave the following:
|
| <body topmargin="0" marginheight="0" marginwidth="0">
|
|
| Then move the following to right before the </head> tag
|
| <script><!--
| an=navigator.appName;sr='http://x3.extreme-dm.com/';srw="na";srb="na";d=docu
| ment;r=41;function pr(n) {
| d.write("<img
| src=\""+sr+"n\/?tag=danli&p=http%3A%2F%2Fworkingpapers.org&j=y&srw="+srw+"&s
| rb="+srb+"&l="+escape(d.referrer)+"&rs="+r+"\" height=1 width=1>");}//-->
| </script><script language="javascript1.2"><!--
| s=screen;srw=s.width;an!="Netscape"?srb=s.colorDepth:srb=s.pixelDepth//-->
| </script><script><!--
| pr()//-->
| </script><noscript><img
| src=http://x3.extreme-dm.com/z/?tag=danli&p=http://workingpapers.org&j
| =n height=1 width=1></noscript>
|
| --
|
| ==============================================
| Thomas A. Rowe (Microsoft MVP - FrontPage)
| WEBMASTER Resources(tm)
|
| FrontPage Resources, Forums, WebCircle,
| MS KB Quick Links, etc.
| ==============================================
| To assist you in getting the best answers for FrontPage support see:
| http://www.net-sites.com/sitebuilder/newsgroups.asp
|
| | > Thanks all to who replied. My margins were already set to 0 in FrontPage
| by
| > using Page Options. I am afraid that had no effect. The html code given by
| > Rowe had the most effect. However, even with topmargin set to 0 the white
| > space is cut only in half instead of the margin being flush with IE
| > browser's border. The left and right margins of the webpage do become
| flush
| > with the browser's borders using Rowe's code. The left/right margins are
| > fine, so I have this entered in the html:
| >
| > <body topmargin="0" marginheight="0" marginwidth="0">
| >
| > I tried the full tag and just single parts of this tag:
| >
| > <body topmargin="0" leftmargin="5.5" marginheight="0" marginwidth="0">
| >
| > but the white space is still there, although it is alot smaller now. Maybe
| > the top table on the page needs to have some code for its margin?
| >
| > http://workingpapers.org
| >
| > | > > Right click on your page in FP, choose Page Properties, click on Margins
| > tab
| > > and set your margin(s) to "0" there.
| > >
| > > | > > > You need to add the following to your pages:
| > > >
| > > > <body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
| > > >
| > > > --
| > > >
| > > > ==============================================
| > > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > > > WEBMASTER Resources(tm)
| > > >
| > > > FrontPage Resources, Forums, WebCircle,
| > > > MS KB Quick Links, etc.
| > > > ==============================================
| > > > To assist you in getting the best answers for FrontPage support see:
| > > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > > >
| > > > | > > > > You have no margin attributes in your body tag.
| > > > >
| > > > > --
| > > > >
| > > > > ==============================================
| > > > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > > > > WEBMASTER Resources(tm)
| > > > >
| > > > > FrontPage Resources, Forums, WebCircle,
| > > > > MS KB Quick Links, etc.
| > > > > ==============================================
| > > > > To assist you in getting the best answers for FrontPage support see:
| > > > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > > > >
| > > > > | > > > > > http://workingpapers.org
| > > > > >
| > > > > > There is a one inch margin at the top of my homepage, right above
| > the
| > > > > yellow
| > > > > > table. I have set all the margins to 0, but it does not work. How
| do
| > I
| > > > get
| > > > > > rid of this white space at the top of the page?
| > > > > >
| > > > > >
| > > > >
| > > > >
| > > >
| > > >
| > >
| > >
| >
| >
|
|
 
Back
Top