Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Eyesareshot #1
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"> About the Place </TD>
</TR>
<TR>
<TD valign="top"> one<BR>
two<BR>
three<BR>
four
</TD>
</TR>
<TR>
<TD valign="top"> </TD>
</TR>
<TR>
<TD valign="top" bgcolor="#993588"> Heading 2</TD>
</TR>
<TR>
<TD valign="top"> <SPAN class="navops">A<BR>
B<BR>
C</SPAN></TD>
</TR>
<TR>
<TD valign="top"> </TD>
</TR>
<TR>
<TD align="left" valign="top">
<HR align="center" width="75%">
<BR>
<STRONG>Hours, location & 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> </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">© 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> </P>
<DIV align="right">
<P align="right"> </P>
</DIV>
</DIV>
</TD>
</TR>
</TABLE>
</BODY>
<!-- InstanceEnd --></HTML>
Eyesareshot Guest
-
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... -
Getting error"No document is currently open" using SDK 9 formsautomation
Adobe does not support VS2008 with Acrobat 9 at this time. -
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... -
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 -
"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... -
Murray *TMM* #2
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
-
Eyesareshot #3
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
-
Murray *TMM* #4
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
-
Eyesareshot #5
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
-
Murray *TMM* #6
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



Reply With Quote

