validate document, "td" error in table

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default validate document, "td" error in table

    Hi. I've added the code for the document. I've modified it, ie took out
    references to the style sheet, etc. as that is irrelevant to the error. The
    actual document I validated is a template which of course is giving me the same
    error in all 50 pages.

    I hope that someone can help me get rid of the error but not have it alter the
    look of the document. Any help I can get today would be really appreciated.

    Thanks.



    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><!-- InstanceBegin template="/Templates/test.dwt"
    codeOutsideHTMLIsLocked="false" --><HEAD>
    <!-- InstanceBeginEditable name="doctitle" -->
    <TITLE>test</TITLE>
    <!-- InstanceEndEditable -->

    <META name="description" content="">
    <META name="classification" content="">
    <META name="rating" content="general">
    <META name="robots" content="all">
    <META name="author" content="">
    <META name="keywords" content="">
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
    <META content="MSHTML 6.00.2800.1491" name=GENERATOR>


    <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->


    </HEAD>

    <BODY>
    <TABLE width="90%" border="0" cellspacing="0" cellpadding="10">
    <TR><TD>
    <P align="right">logo here <A name="#top" id="#top"></A></P>
    </TD></TR>
    </TABLE>


    <TABLE width="90%" border="0" align="left" cellpadding="2" cellspacing="6">
    <TR>
    <TD width="275" align="left" valign="top" nowrap>
    <TABLE width="275" border="0" align="left">

    <TR valign=top>
    <TD width="275" valign="top"><IMG src="spacer.gif" alt="spacer"
    width="1" height="1"></TD>
    </TR>

    <TR>
    <TD valign="top" bgcolor="#993588"
    class="whitemenuheading">&nbsp;About the Place </TD>
    </TR>

    <TR>
    <TD valign="top"> one<BR>
    two<BR>
    three<BR>
    four
    </TD>
    </TR>

    <TR>
    <TD valign="top">&nbsp;</TD>
    </TR>

    <TR>
    <TD valign="top" bgcolor="#993588">&nbsp;Heading 2</TD>
    </TR>

    <TR>
    <TD valign="top"> <SPAN class="navops">A<BR>
    B<BR>
    C</SPAN></TD>
    </TR>

    <TR>
    <TD valign="top">&nbsp;</TD>
    </TR>

    <TR>
    <TD align="left" valign="top">
    <HR align="center" width="75%">
    <BR>
    <STRONG>Hours, location &amp; accessibility:</STRONG><BR>
    We're open <BR>
    <BR>
    Street level.<BR>
    <BR>
    How to contact us:

    <TABLE cellpadding=2 width="100%">
    <TR valign=top class="contactusbold">
    <TD height=96>
    <P>
    phone<BR>
    fax<BR>
    TTY<BR>
    website</P>
    </TD>

    <TD height=96 align="left">
    <P>5551212<BR>
    5551212<BR>
    5551212<BR>
    </P>
    </TD>
    </TR>
    </TABLE>
    <A name=#safety id="#safety"></A> More stuff<BR>
    <DIV align="center"></DIV>
    </TD>
    </TR>
    </TABLE>

    <TD width="1" bgcolor="#993588"><IMG src="spacer.gif" alt="spacer"
    width="1" height="1"></TD>
    <TD align="left" valign="top" >
    <!-- InstanceBeginEditable name="add text here" -->
    <HR align="center" width="50%">
    <H1 align="center">Heading 1</H1>
    <P align="left" class="bodytext">editable text goes here </P>
    <P><SPAN class="bodytext">editable text goes here </SPAN><SPAN
    class="bodytext">editable
    text goes here </SPAN><SPAN class="bodytext">editable text
    goes
    here </SPAN><SPAN class="bodytext">editable text goes here
    </SPAN><SPAN class="bodytext">editable
    text goes here </SPAN><SPAN class="bodytext">editable text
    goes
    here </SPAN><SPAN class="bodytext">editable text goes here
    </SPAN><SPAN class="bodytext">editable
    text goes here </SPAN></P>
    <P>&nbsp;</P>
    <P><SPAN class="bodytext">editable text goes here </SPAN><SPAN
    class="bodytext">editable
    text goes here </SPAN><SPAN class="bodytext">editable text goes
    here </SPAN><SPAN class="bodytext">editable text goes here
    </SPAN></P>
    <!-- InstanceEndEditable -->
    </TD>
    </TR>

    <TR>
    <TD align="left" valign="top" >
    <HR align="center" width="60%">
    <P align="center"> <B></B></P>
    <P align="center" class="credit">&copy; Copyright 2005<BR>

    This page updated
    <SCRIPT language="JavaScript" type="text/JavaScript">
    <!-- Begin
    var days = new Array(8);
    days[1] = "Sunday";
    days[2] = "Monday";
    days[3] = "Tuesday";
    days[4] = "Wednesday";
    days[5] = "Thursday";
    days[6] = "Friday";
    days[7] = "Saturday";
    var months = new Array(13);
    months[1] = "January";
    months[2] = "February";
    months[3] = "March";
    months[4] = "April";
    months[5] = "May";
    months[6] = "June";
    months[7] = "July";
    months[8] = "August";
    months[9] = "September";
    months[10] = "October";
    months[11] = "November";
    months[12] = "December";
    var dateObj = new Date(document.lastModified)
    var wday = days[dateObj.getDay() + 1]
    var lmonth = months[dateObj.getMonth() + 1]
    var date = dateObj.getDate()
    var fyear = dateObj.getYear()
    if (fyear < 2000)
    fyear = fyear + 1900
    document.write(wday + ", " + lmonth + " " + date + ", " + fyear)
    // End -->
    </SCRIPT>
    </P>
    </TD>
    <TD width="1" align="left" valign="top" bgcolor="#993588"></TD>
    <TD valign="top" >
    <DIV align="center">
    <HR align="center" width="60%" size=3>
    <P>&nbsp; </P>
    <DIV align="right">
    <P align="right">&nbsp; </P>
    </DIV>
    </DIV>
    </TD>
    </TR>
    </TABLE>
    </BODY>

    <!-- InstanceEnd --></HTML>

    Eyesareshot Guest

  2. Similar Questions and Discussions

    1. Getting error "No document is currently open"using SDK 9 forms automation
      I have Acrobat Pro 9 installed and am trying to use the FormsAutomation VB.net project without modification. (I am using VS2008.) It goes through...
    2. Getting error"No document is currently open" using SDK 9 formsautomation
      Adobe does not support VS2008 with Acrobat 9 at this time.
    3. WebMethod: "There is an error in XML document"
      Hi- I have a WebMethod in C# (under asp.net 1.1) which returns a collection of ISerializable objects. The web method works fine until there are...
    4. ERROR: relation "table" does not exist - HELP
      That happens when you type: \d From the PSQL sql prompt, like this: connxetl=# \d List of relations
    5. "There was an error opening this document. This file cannot be found."
      Myself and a co-worker get this error when attempting to open an Adobe PDF directly from the SQL Reporting Services package EXPORT feature. If we...
  3. #2

    Default Re: validate document, "td" error in table

    And the error is?

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Eyesareshot" <webforumsuser@macromedia.com> wrote in message
    news:dcdh3v$nmo$1@forums.macromedia.com...
    > Hi. I've added the code for the document. I've modified it, ie took out
    > references to the style sheet, etc. as that is irrelevant to the error.
    > The
    > actual document I validated is a template which of course is giving me the
    > same
    > error in all 50 pages.
    >
    > I hope that someone can help me get rid of the error but not have it alter
    > the
    > look of the document. Any help I can get today would be really
    > appreciated.
    >

    Murray *TMM* Guest

  4. #3

    Default Re: validate document, "td" error in table

    If you run it through validate current document, line 169, the error is:
    tag: " td" invalid inside tag: "td". " td" closing tag is optional. Validation
    will proceed as if context is closed.[HTML 4.0]

    thanks.

    Eyesareshot Guest

  5. #4

    Default Re: validate document, "td" error in table

    That makes sense. The referenced line is this one -

    </TABLE>

    <TD width="1" bgcolor="#993588"><IMG src="spacer.gif" alt="spacer"
    width="1" height="1"></TD>

    It's impossible to have code like that - in other words, the only "table
    related" tag that could possibly come after </table>, is </td>, not <td>.
    If you would make this change then your page will validate:

    </TABLE></td>

    <TD width="1" bgcolor="#993588"><IMG src="spacer.gif" alt="spacer"
    width="1" height="1"></TD>


    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Eyesareshot" <webforumsuser@macromedia.com> wrote in message
    news:dcdib5$ph3$1@forums.macromedia.com...
    > If you run it through validate current document, line 169, the error is:
    > tag: " td" invalid inside tag: "td". " td" closing tag is optional.
    > Validation
    > will proceed as if context is closed.[HTML 4.0]
    >
    > thanks.
    >

    Murray *TMM* Guest

  6. #5

    Default Re: validate document, "td" error in table

    Ah! That's it! Fabulous. What a bonehead I am sometimes. I'm self-taught so
    my knowledge is all over the place, from simple to complicated but not getting
    everything inbetween.

    Thanks a million.

    Eyesareshot Guest

  7. #6

    Default Re: validate document, "td" error in table

    You're welcome.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Eyesareshot" <webforumsuser@macromedia.com> wrote in message
    news:dcdqil$7sa$1@forums.macromedia.com...
    > Ah! That's it! Fabulous. What a bonehead I am sometimes. I'm
    > self-taught so
    > my knowledge is all over the place, from simple to complicated but not
    > getting
    > everything inbetween.
    >
    > Thanks a million.
    >

    Murray *TMM* Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139