...

View Full Version : backhour



schrooom
10-31-2002, 06:13 PM
I have the below table cell in a page and and when I validate it with:
<!doctype HTML public "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">

I get the following error
Error: there is no attribute BACKGROUND for this element (in this HTML version)

What does the validator not like? I hate so spend forever figuring it out, has any one run across this problem??




<TD height="20" background="images/pi_horizlines.gif" colspan="6">&nbsp;</TD>

MCookie
10-31-2002, 07:25 PM
"background" is a deprecated attribute in HTML 4.01. You should use CSS. Or another DTD (3.2). Or no DTD at all.

schrooom
10-31-2002, 07:27 PM
Thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum