Shared borders

S

Stephen Corcoran

All,
I'm using frontpage's shared borders (top and left). I'm not using the
themes, I'm just putting a picture in the top border that gets set on every
page. The problem is that the banner doesnt get placed at the very top, so
there's a 1/8th inch gap in the top of the page. I was told to put in some
code to draw that picture to the top.

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

It works, but when the page is edited, I get multiple banners and sidebars
(it's easier if you see it, so goto http://beta.tulpehocken.org/test).. if i
take that line out, it goes back to normal..

so i guess my question is, how can i pull a banner to the very top using
shared borders without screwing up the site?

Thanks in advance.

Steve
 
T

Thomas A. Rowe

You have to add

leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"

to your current <body> tag

or

you need to replace your current <body> tag with the following:

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

Because currently you have two <body> tags.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
R

Ronx

Delete this line

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

Then Change this:

</head>

<body>

to this:

</head>

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

--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/


Stephen Corcoran said:
All,
I'm using frontpage's shared borders (top and left). I'm not using the
themes, I'm just putting a picture in the top border that gets set on every
page. The problem is that the banner doesnt get placed at the very top, so
there's a 1/8th inch gap in the top of the page. I was told to put in some
code to draw that picture to the top.

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

It works, but when the page is edited, I get multiple banners and sidebars
(it's easier if you see it, so goto
http://beta.tulpehocken.org/test).. if i
 
S

Stephen Corcoran

I appreciate the quick response.. I replaced the tags like you said.. it
doesnt seem to pull the banner to the top.. it works right away if i have
two body tags..

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

but of course, that causes the whole doubling up problem.. am i missing
something? here's my whole top border html code..

<html><head><meta http-equiv="Content-Type" content="text/html;
charset=windows-1252"><title>Shared Top Border</title><meta name="Microsoft
Theme" content="none">
<meta name="Microsoft Border" content="none">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table border="0" width="100%" id="table1" cellpadding="0" cellspacing="0">
<tr>
<td width="800">
<img border="0" src="../images/banner.jpg" width="800" height="130"></td>
<td background="../images/hdrbkg.gif">&nbsp;</td>
</tr>
</table>
</body>
</html>



thanks.
 
T

Thomas A. Rowe

No, you need to insert the code on all of your pages, not the shared border pages and you can not
have more then 1 opening body tag per page.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
S

Stephen Corcoran

Wow, that worked like a charm.. thanks!


Thomas A. Rowe said:
No, you need to insert the code on all of your pages, not the shared
border pages and you can not have more then 1 opening body tag per page.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top