hi there
the code below fails validation on w3c validator.
the bit it fails on is the background image property on the 2nd td tag on the top table.
the table below it is identical but validates fine.
anybody see a mistake that i havent spotted? or know what the problem is?
cheers
matt
forgot to say this is in the doc
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
and
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
the code below fails validation on w3c validator.
the bit it fails on is the background image property on the 2nd td tag on the top table.
the table below it is identical but validates fine.
anybody see a mistake that i havent spotted? or know what the problem is?
Code:
<table width=500 align=center border=0 cellpadding=1 cellspacing=1 bgcolor=blue>
<tr>
<td align=center valign=middle width=125 bgcolor=yellow>Season</td>
<td align=center valign=middle bgcolor=white background="images/background/lightblue.gif">Months</td>
<td align=center valign=middle width=125 bgcolor=yellow>Weekly</td>
</tr>
</table>
<br>
<table width=500 align=center border=0 cellpadding=1 cellspacing=1 bgcolor=blue>
<tr>
<td align=center valign=middle width=125 bgcolor=yellow>Low Season</td>
<td align=center valign=middle bgcolor=white background="images/background/lightblue.gif">1st January<br>-29th February</td>
<td align=center valign=middle width=125 bgcolor=yellow>400<br></td>
</tr>
cheers
matt
forgot to say this is in the doc
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
and
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Last edited: