Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Errors in validation...

New Here ,
Aug 07, 2008 Aug 07, 2008
How do I find out how to correct the errors that the validation gives me? For instance:
The tag "div" is not allowed within "table".
The tag "p" is not allowed within "table".
The tag "style" is not allowed within "p"....

and the worst...The tag name "embed" is not found in currently active versions.
I've been fiddling with all of these, but it's been a disaster. Any recommendations, please?

(www.formypets.net)

TOPICS
Server side applications
392
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 07, 2008 Aug 07, 2008
The page you linked doesn't give those errors in the validator. On the page
you linked, the errors up through line 256 are related to your use of Flash.
Ignore them.

Line 263/264 is this -

<table width="112" border="0" cellpadding="0" cellspacing="0">
</table>

hence the error message that </table> has been encountered before the table
was completed, and that's true. You cannot have <table> without also having
<tr><td></td></tr>. Delete both lines.

Line 280, Column 30: there is no attribute "background".

<td width="11" background="/background.gif"> </td>

This is true. There is no valid attribute 'background' in XHTML (your
doctype - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> specifies that
this is an XHTML page). Remove it and use CSS to specify that background
image.

Line 296, Column 30: document type does not allow element "style" here.

You cannot have a stylesheet embedded between <body> and </body>. Remove
it.

Line 314, Column 360: end tag for "blockquote" omitted

You have used a <blockquote> without closing it.

Line 316, Column 62: end tag for element "p" which is not open.

Ditto.


--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"labecs" <webforumsuser@macromedia.com> wrote in message
news:g7fjl3$dv4$1@forums.macromedia.com...
> How do I find out how to correct the errors that the validation gives me?
> For
> instance:
> The tag "div" is not allowed within "table".
> The tag "p" is not allowed within "table".
> The tag "style" is not allowed within "p"....
>
> and the worst...The tag name "embed" is not found in currently active
> versions.
> I've been fiddling with all of these, but it's been a disaster. Any
> recommendations, please?
>
> (www.formypets.net)
>
>
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 07, 2008 Aug 07, 2008
Thank you so much! Almost everything worked, but, I got a whole new set...

Keep in mind I just started and I'm learning as I go, so your help is very, very much appreciated :)

256 The tag:"script" is not allowed within: "table" 312 The tag:"script" is not allowed within: "table"

My google ads disappear

320 The tag:"a" is not allowed within: "table"
323 The tag:"a" is not allowed within: "table"
324 The tag:"span" is not allowed within: "table"

I don’t know what to do!!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 08, 2008 Aug 08, 2008
LATEST
Which page are you looking at?

Anyhow, these errors sound suspiciously like the first page (which is still
throwing the same errors - http://www.formypets.net/), and so I'm guessing
you have that invalid, empty table tag on this page, too -

<table ...>
... all the markup that is throwing errors...
</table>

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"labecs" <webforumsuser@macromedia.com> wrote in message
news:g7gfvi$d6u$1@forums.macromedia.com...
> Thank you so much! Almost everything worked, but, I got a whole new
> set...
>
> Keep in mind I just started and I'm learning as I go, so your help is
> very,
> very much appreciated :)
>
> 256 The tag:"script" is not allowed within: "table" 312 The tag:"script"
> is
> not allowed within: "table"
>
> My google ads disappear
>
> 320 The tag:"a" is not allowed within: "table"
> 323 The tag:"a" is not allowed within: "table"
> 324 The tag:"span" is not allowed within: "table"
>
> I don?t know what to do!!
>
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines