Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-31-2002, 06:13 PM   PM User | #1
schrooom
New to the CF scene

 
Join Date: Sep 2002
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
schrooom is an unknown quantity at this point
backhour

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>
schrooom is offline   Reply With Quote
Old 10-31-2002, 07:25 PM   PM User | #2
MCookie
Regular Coder

 
Join Date: Jun 2002
Location: NL
Posts: 421
Thanks: 0
Thanked 0 Times in 0 Posts
MCookie is an unknown quantity at this point
"background" is a deprecated attribute in HTML 4.01. You should use CSS. Or another DTD (3.2). Or no DTD at all.
MCookie is offline   Reply With Quote
Old 10-31-2002, 07:27 PM   PM User | #3
schrooom
New to the CF scene

 
Join Date: Sep 2002
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
schrooom is an unknown quantity at this point
Thanks
schrooom is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:58 AM.


Advertisement
Log in to turn off these ads.