Freepages-Help-L Archives
Archiver > Freepages-Help > 2001-10 > 1003189958
From: Pat Asher <>
Subject: Re: [FreeHelp] Guestbook
Date: Mon, 15 Oct 2001 19:52:38 -0400
References: <200110142211.f9EMBcf14731@resources.rootsweb.com>
In-Reply-To: <001d01c1552e$3809afa0$6d925bd1@lauryle>
At 12:02 AM 10/15/2001, Laurie Lovelace wrote:
Elsi, thanks for the help. I don't consider the information "sloppy". I was
told by the RootsWeb instructions to "copy and paste the code." Which is
what I did. If it broke up, I'm sorry. I didn't memorize the string
Laurie,
Many of the errors Elsi is referring to are not in the code you copied and
pasted for your guestbook, but in your page code.
The "content" of your page must appear between the opening BODY tag and the
closing /BODY tag. You have two opening BODY tags, and have placed the one
you need, with the BODY attributes, inside the HEAD tags for your
document. Instead of
<.HEAD>
<.BODY bgproperties="FIXED" BGCOLOR="#FCFAF8" BACKGROUND="bg_will.gif"
TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#ff0000">
<./HEAD>
<.BODY>
<.center>
It should be
<.HEAD>
<./HEAD>
<.BODY bgproperties="FIXED" BGCOLOR="#FCFAF8" BACKGROUND="bg_will.gif"
TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#ff0000">
<.center>
Without the leading dots we instert for our AOL friends <G>
Then you have this code:
<.P ALIGN="CENTER">
Please Sign
<.br>
My Guest Book
<./center>
The problem with this is you have started a PARAGRAPH, with center
alignment, but you have not closed the paragraph with a <./P> Then you
have entered the closing tag for a CENTER tag which does not exist. Tags
must match.
<.P>content<./P>
<.center>content<./center>
A <./center> tag can not close a <.P> tag. Get the idea?
You have omitted the opening Table Row tag <.TR> for your first table (line
25).
And that's just for starters. There really is quite a long list of errors,
and by this time, you probably feel Elsi and I are picking on you :( But
the fact of the matter is, that some browsers will not be able to render
your code as it is written. The ones that will interpolate code for you,
and display the page regardless, are what Elsi mean by "sloppy".
A validator such as the one at W3c.org is free for your use, and will tell
you line by line, what errors you have in your code. Even the most
experienced HTML coders make errors, which is why they invented validators <G>
Pat Asher
This thread:
| Re: [FreeHelp] Guestbook by Pat Asher <> |