HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
doc type doesn't allow element "TD" here; assume m
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
batski



Joined: 01 Jul 2005
Posts: 2

PostPosted: Fri Jul 01, 2005 6:05 am     doc type doesn't allow element "TD" here; assume m Reply with quote

Running this code through validator I am getting these two errors. Would appreciate being shown the error of my ways, thanks;
ERROR Line 29, column 26: document type does not allow element "TD" here; assuming missing "TR" start-tag
<td bgcolor="006600">
ERROR Line 33, column 26: document type does not allow element "TD" here; assuming missing "TR" start-tag
<td bgcolor="006600">

<div align="center">
<center>
&nbsp;<table border="0" cellpadding="0" cellspacing="0" width="770" bgcolor="#FFFFFF">
<tr>
<td>
<div align="center">
<table border="0" cellpadding="5" cellspacing="0" width="760" bgcolor="#FFFFFF">
<tr>
<td bgcolor="006600">

<p style="text-align: center"><font color="#FFFF00" style="font-size: 16pt">KPS
<br>
Directory</font></tr>
LINE 29 <td bgcolor="006600"> ERROR ON THIS LINE

<p style="text-align: center"><font color="#FFFF00" style="font-size: 16pt">
<img border="0" src="images/rotater.gif" width="271" height="60" alt="KPS Pictures"></font></tr>
LINE 33 <td bgcolor="006600"> ERROR ON THIS LINE

<font color="#FFFF00" style="font-size: 16pt">
<img border="0" src="images/crest.gif" width="233" height="60" align="right" alt="motto and crest"></font></tr>
</table>
</div>
</td>
</tr>
</table>
</center>
</div>
degsy



Joined: 23 Feb 2005
Posts: 2440
Location: North East, UK

PostPosted: Fri Jul 01, 2005 8:44 am     Reply with quote

Did you read the errors it is giving you?
Quote:

assuming missing "TR" start-tag
batski



Joined: 01 Jul 2005
Posts: 2

PostPosted: Fri Jul 01, 2005 5:03 pm     Yep Reply with quote

Yes, I have been trying to work out where to put the extra TR tags.
Seems to change the layout if I delete them or when I insert( where I thought the TR tags should be).
Thought someone might know where they should be put.
Thanks for the reply.
degsy



Joined: 23 Feb 2005
Posts: 2440
Location: North East, UK

PostPosted: Sat Jul 02, 2005 6:04 am     Reply with quote

Quote:

Directory</font></tr>
LINE 29 <td bgcolor="006600">

<img border="0" src="images/rotater.gif" width="271" height="60" alt="KPS Pictures"></font></tr>
LINE 33 <td bgcolor="006600">


They need to go where the LINE error is
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial