Log in

View Full Version : flash and validation



stevedc
06-11-2008, 05:53 PM
I'm wondering what fixes are out there for problems such as this (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.stevencasedesign.com&charset=%28detect+automatically%29&doctype=Inline&group=0). This always happens to me when putting flash content into an xhtml / css page.

~ Regards
Steve Case

jscheuer1
06-12-2008, 03:23 AM
See:

http://www.alistapart.com/articles/flashsatay

Basically though, according to the w3c standards, the embed tag is invalid.

So you can either rely upon javascript to create and/or write out the invalid code in such a way that it is hidden from the validator (which really doesn't solve the problem*), or you can learn how to write valid object/object tag pairs in place of the invalid object/embed tag pairs.


*It will solve the problem in the near term. However, as more and more browsers become standards compliant, you may lose compatibility.