How do I edit the detail when FP2003 has out it in a <BODY>

  • Thread starter Andrew Benjamin
  • Start date
A

Andrew Benjamin

Help if you can ...........
I am trying to get a google map on my home page and something odd happens in
FrontPage 2003

1. see http://www.svtallyho.com/indextest3.htm - right click and see code -
copy all the code to clipboard

2. Open up FrontPage 2003 and add a new page and past it in.

3. Open the preview tab and you should see a good preview.

4. Go back to the code page and now the code appears to be compressed with
<body> tags? and looks like :
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Home Page</title>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="Microsoft Theme" content="water 1011">
<meta name="Microsoft Border" content="l, default">
</head>
<body>
<html>
<html xmlns:v="urn:schemas-microsoft-com:vml">
<body>
<html>
<html xmlns:v="urn:schemas-microsoft-com:vml">
<body></body>
</html>

How can I edit the the stuff that has disappeared or is inside the <BODY> ?
 
R

Ronx

Before you preview or save the page, clean up the pasted HTML. The
original page contains three <head> sections where only one is allowed.
There is also a </table> tag that does not appear to have an associated
opening <table> tag, missing </font> tag, and surplus </body> and
</html> tags. The gmapkey <meta> tag and javascript link both need to
be moved into the "real" head section of the page.
 
A

Andrew Benjamin

I think I will have to get the HTML book for dummies out.
--
Andrew
www.svtallyho.com


Ronx said:
Before you preview or save the page, clean up the pasted HTML. The
original page contains three <head> sections where only one is allowed.
There is also a </table> tag that does not appear to have an associated
opening <table> tag, missing </font> tag, and surplus </body> and
</html> tags. The gmapkey <meta> tag and javascript link both need to
be moved into the "real" head section of the page.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 
T

Trevor Lawrence

Andrew Benjamin said:
I think I will have to get the HTML book for dummies out.

I don't know that you need to get out the book

I looked at the code and Ron's suggestions and here is my attempt to clean
it up. It is not tested but it should be valid HTML code, if not what you
intended .

I noted where each table was opened and closed. The names do not agree with
your naming - they are just numbered from 1 in sequence. I then closed all
open tages which is at the bottom of rhe code - marked ADDED

I also note two titles. One is commented out.

Try this out and see how it goes

<!---------------------------------------------------->
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Home Page</title>
<!-- <title>My GMapEZ Maps</title> -->
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="Microsoft Border" content="l, default">
<meta name="gmapkey"
content="ABQIAAAAbHyIF9r-nb88lpwz86VXyxTKlxyqKXw2jA5H0bWeGRHdpCCimRRXUmdDU8iu_GpJCoNOpjXgyKjFAw"
/>
<script
src="http://n01se.net/gmapez/gmapez-2.js"type="text/javascript"></script>
<link rel="stylesheet" type="text/css"
href="_themes/water/wate1011.css"><meta name="Microsoft Theme"
content="water 1011">
</head>

<body>
<table dir="ltr" border="0" cellpadding="0" cellspacing="0" width="100%">
<!-- TABLE 1 -->
<tr>
<td valign="top" width="1%">
<p></p>
</td>

<td valign="top" width="24">
</td>

<td valign="top">
<table dir="ltr" border="0" cellpadding="0" cellspacing="0"
width="100%"> <!-- TABLE 2 -->
<tr>
<td valign="top" width="1%">
<p>
</p>
</td>

<td valign="top" width="24"></td>

<td valign="top">
<table border="1" width="100%" id="table4"> <!-- TABLE 3 -->
<tr>
<td width="1077" bordercolor="#213D83">
<table border="1" width="100%" id="table1"> <!-- TABLE 4 -->
<tr>
<td bordercolor="#213D83">
<p align="center"><font face="Castellar" size="6">
Welcome Aboard</font><font face="Castellar" size="7">
</font>
</p>

<p align="center"><b><font face="Castellar" size="7">
Tally Ho</font></b><font face="Castellar" size="7">
</font>
</p>

<p align="center">&nbsp;</p>
</td>
</tr>
</table> <!-- Close TABLE 4 -->

<table border="1" width="100%" id="table3"> <!-- TABLE 5 -->
<tr>
<td width="552" bordercolor="#213D83">
Andrew has dreamed for many years
of retiring and sailing away to exotic places around the USA
and the
Caribbean. That dream is being realized and Vanessa, otherwise
known as first mate, cook, chief bottle washer and a whole host
of other
names (who dreams of other things - and wants to snorkel for
the rest of
her life) has agreed to join him in the adventure.

<p>The adventure started in October 2007 heading south for an
&quot;endless
summer&quot;. </p>

<p>This website has been created to share the adventure as it
develops
and progresses, so that family and friends can keep up to date
on what's
happening. In other words have a cheap laugh at our expense!
</p>
</td>

<td align="center" bordercolor="#213D83">
<img border="0" src="Memorial%20Day%20011a.jpg" width="511"
height="386">
</td>
</tr>
</table> <!-- Close TABLE 5 -->

<div align="center">
<table border="1" width="878" height="87"> <!-- TABLE 6 -->
<caption>&nbsp;</caption>
<tr>
<td height="81" width="878" bordercolor="#213D83">
<p align="center"><font size="4" face="Castellar">Where are we
now?</font>

<p align="left">
<font face="Castellar" size="4">&nbsp; </font>

<p align="left"><font face="Book Antiqua" size="4">April
25th&nbsp;
<div class="GMapEZ G_HYBRID_TYPE GLargeMapControl
GMapTypeControl GScaleControl GOverviewMapControl" style="width: 300px;
height: 300px;">
<a
href="http://maps.google.com/maps?ll=39.285353,-76.556597&amp;spn=0.006130,0.009795&amp;t=k&amp;hl=en">
</a>
</div>
</table> <!-- Close TABLE 6 -->

<!-- ADDED -->
</td>
</tr>
</table> <!-- Close TABLE 3 -->
</td>
</tr>
<!-- End ADDED-->

</table> <!-- Close TABLE 2 -->
</td>
</tr>
</table> <!-- Close TABLE 1 -->
</body>
</html>
 

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

Similar Threads

WordML inside HTML 0
HTML Code for Templates? 6
Duplicate Records 3
Search not working 1
Why so many blank lines? 2
two tables in the same row 6
dissapearing meta name tags 2
php 4

Top