View Full Version : Clueless about validation error

07-08-2008, 02:18 PM
Here are the results of the validation for my site at http://forzatuning.awardspace.com

http://validator.w3.org/check?uri=http%3A%2F%2Fforzatuning.awardspace.com%2Findex.php&charset=utf-8&doctype=Inline&group=0 (http://validator.w3.org/check?uri=http%3A%2F%2Fforzatuning.awardspace.com%2Findex.php&charset=utf-8&doctype=Inline&group=0)

The problem lies with a youtube video ive included in the page, but that explanation may as well have been written in spanish and translated to chinese, because i have no idea what it means. Hvae had a search on google too but that was also fruitless, you you happy lot are my next port of call!

Thanks in advance!

07-08-2008, 02:29 PM
Replace the line in your code containing the <object> with this:

<object type="application/x-shockwave-flash" style="width:425px; height:350px;" data="http://www.youtube.com/v/EJgn32W8y6Q"><param name="movie" value="http://www.youtube.com/v/EJgn32W8y6Q"></object>

Your attribute values needed to be quoted. Add a type to your javascript and it should validate.

07-08-2008, 02:53 PM
Fantastic! thanks!