leeboycymru
Programmer
I have a table, which I have posted below without any of the php included. It is failing a validation because it says Im missing an child element, I have tried and tried and dont seem to be able to figure it out.
Here is the validation page:
Not this is how the code is, and I have been through the code with a fine toothcomb, indenting it and the like to find the problem. Have a go and see if you can do it.
Can anybody spot the deliberate mistake.
Lee
Code:
<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" >
<tr>
<td> </td>
</tr>
<tr>
<td>
<table border="0" align="left" cellpadding="0" cellspacing="0" width="98%" >
<tr>
<td width="<? if($j==1) { print("228"); } else { print("242"); } ?>" align="left" valign="top">
<table width="217" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="middle"><table width="201" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="62" height="63" align="left" valign="top"></td>
<td width="7"> </td>
<td width="132" align="left" valign="top"><span class="bahia"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="1" align="left" valign="top" bgcolor="#CCCCCC"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="1" bgcolor="#CCCCCC"></td>
</tr>
</table>
</td>
</tr>
</table>
Here is the validation page:
Not this is how the code is, and I have been through the code with a fine toothcomb, indenting it and the like to find the problem. Have a go and see if you can do it.
Can anybody spot the deliberate mistake.
Lee