PDA

View Full Version : backgrounds



chris9902
April 2nd, 2003, 07:02 AM
<td width="649" height="400" background="C:\unzipped\topmenu4\middle.jpg">

that is my TD tags in my table but when i go to http://validator.w3.org and check it this comes but


Below are the results of attempting to parse this document with an SGML parser.

Line 70, column 44: there is no attribute "BACKGROUND" (explain...).
... width="649" height="400" background="C:\unzipped\topmenu4\middle.jpg"><cente
^
Line 74, column 73: there is no attribute "BACKGROUND" (explain...).
... cellspacing="0" cellpadding="0" background="C:\unzipped\topmenu4\foot.jpg">



can anyone help me

Alex
April 2nd, 2003, 08:52 AM
i think that it is doing that because the background is not online and not on a server, it doesnt know where to look for it.

chris9902
April 2nd, 2003, 02:56 PM
o ok i will try this now

thanks ALEX

chris9902
April 2nd, 2003, 03:42 PM
ok i tried it but it does not work

thats the link (IE only) and it works fine
http://www.myjspace.com/user/grandtheftauto/test2.htm

but go to http://validator.w3.org and add that link to the validator and see what happens

i don't understand

i want it to be ok because it looks good on your site if you have a validated mark

and ignore This page is not Valid HTML 4.01 Transitional! becoz as soon as i take the background tags away it is OK



:scream:

abzoid
April 2nd, 2003, 06:08 PM
Background images within tables, while supported to various levels by most genertation 4+ browsers, are not part of the HTML 4.0 definition. You'll get a validation error everytime if you use the background attribute with a table.

chris9902
April 2nd, 2003, 06:44 PM
so can i sort it out

abzoid
April 2nd, 2003, 06:51 PM
I've never put much stock in code validators, if the pages work as desired in the vast majority of browsers then I'm happy. That's why I have several different browsers installed, and why I have contacts with other browsers that can do QA for me if an issue arises.

chris9902
April 2nd, 2003, 09:05 PM
thats a good idea but it is nice to say "look it is validated"

abzoid
April 2nd, 2003, 09:10 PM
Originally posted by chris9902
thats a good idea but it is nice to say "look it is validated" Well, I've yet to meet a client that had the foggiest idea what that means.:flower: