Would anyone be able to give me some tips or advice on the following as I keep getting the same errors when validating on W3C..attached is a screen dump of part of the finished form.
ERROR = Line 127, Column 4: document type does not allow element "tr" here
ERROR = Line 131, Column 4: document type does not allow element "tr" here
122 <tr><td>Address</td></tr> 123 <tr> 124 <td class="input"> 125 <input type="text" name="house" class="detail" tabindex="2" /><div class="context">House name/no</div></td> 126 <td class="input"><input type="text" name="street" class="detail" tabindex="3" /><div class="context">Street</div></td> 127 <tr> 128 <td class="input"> 129 <input type="text" name="town" class="detail" tabindex="4" /><div class="context">Town</div></td> 130 <td class="input"><input type="text" name="city" class="detail" tabindex="5" /><div class="context">City</div></td> 131 <tr> 132 <td class="input"> 133 <input type="text" name="postcode" class="detail" tabindex="6" /><div class="context">Postcode <span class="required">*</span></div></td> 134 </tr>
AND
ERROR = Line 137, Column 4: document type does not allow element "tr" here
ERROR = Line 138, Column 4: document type does not allow element "tr" here
137 <tr><td>Phone <span class="required">*</span></td></tr> 138 <tr> 139 <td class="input"><input type="text" name="phone" class="detail" tabindex="7" /></td></tr>
And it goes on and on and on and on and well, you get the jist.
Many thanks
James
Attached File(s)
-
Screen shot 2012-01-27 at 15.38.32.png (77.17K)
Number of downloads: 4
This post has been edited by Renaissance-Design: 27 January 2012 - 03:41 PM
Reason for edit: Please use the code button or tags to format your code.
Help
















