You cannot use
tr
without
td
. Add
td
and you will have the row in place. Next problem is: it would make just one
td
corresponding to the leftmost cell of your table, because your other rows have two cells. As a result, it would center the image in the leftmost column, but probably you want to center it relative to the table.
The solution is: add the attribute
colspan="2"
, which will make a cell spanning over the table width. You will get the following modification of your row with the image:
<tr align="center">
<td colspan="2"><image src="images/Noimage.jpg"></td>
</tr>
Now, your other problem is: you try to control the style detail using HTML. This is wrong. You have to use CSS, for robustness, flexibility and maintainability. Only CSS. The only style-related HTML attribute you should allow yourself to use should be CSS
class
, but even its use should be minimized.
—SA