PDA

View Full Version : Validation questions


bcarl314
02-21-2003, 12:55 PM
I'm trying to validate my business website and am getting a few strange results.

I'm using the w3.org validator. I haven't set my DOCTYPE yet, but I'm trying to validate using charset 8859-1 and Transitional html4.01.

The errors I'm getting are related to the "background" attribute for a table cell. In some cases it says "background" is not a valid attribute, yet in onther areas it doesn't seem to mind.

And all of the flash stuff (using the <embed> tag) doesn't validate.

Here's the link
aphion.com validation link (http://validator.w3.org/check?uri=http%3A%2F%2Faphion.com&doctype=HTML+4.01+Transitional&charset=iso-8859-1+%28Western+Europe%29)

Am I missing something?
Thanks for the help.

meow
02-21-2003, 01:25 PM
It's odd. Sometimes errors sort of hide other errors. When you start to correct them the others show up. Don't see what it is in this case though. FYI there is no attribute 'background' for this element (in this HTML version). :D

bcarl314
02-21-2003, 01:55 PM
Is background a valid attribute for a table cell? I've seen and been using it for years. I'll probably just make is css and go from there. Anybody know how to use flash and get it to validate?

meow
02-21-2003, 02:08 PM
A lot of things have been used for years.

BTW if you correct the first background error the next is flagged and so on. I tryed. :o Can't figure out why the validator doesn't list all of them though.

If you want to bother with valid Flash here's how:
http://www.alistapart.com/stories/flashsatay/

cg9com
02-21-2003, 02:37 PM
yes use css for your backgrounds, and for any other stuff 2 :)
try using <object> instead of <embed> :thumbsup: