Adding HTML to body when using shared borders

W

WW Fan

My Website uses shared borders and I created it with FrontPage 2002. I
use Google AdWords tracking which requires inserting of their tracking
code just before the </body> tag.

When I add the code, it looks fine on my desktop. But after I publish
to the server, the added code becomes separated from the </body> tag by
the lines of shared footer HTML code. This appears to be preventing my
AdWords code from working correctly.

How do I place the tracking code just above the </body> tag so that the
shared footer doesn't come between? By placing it inside the shared
footer? In that case how can I edit the border HTML?
 
R

Ronx

Give up shared borders.
Shared borders places the page content in a table structure, so no
matter where you place the tracking code, it will be separated from the
</body> tag by (at a minimum)
<!--msNavigation--></td></tr></table>
Use include files to replace the shared borders, then the </body> tag
will be free for use.
 
D

David Berry

When you do the include page, switch to code view and delete the
<html><head></head><body></body></html> tags and only have tags for your
content so you don't get multiple body tags when the page is rendered.
 

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