DOCTYPE and javascript : unexpected problem

Hello,

 

Why when I delete the line "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Loose//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">" from
my XHTML page, my javascript function works whereas when I put it, it
doesn't work anymore?

It is a simple carousel of images and is very annoying because I really want
my site to be valid!

 

Thanxs,

 

Aude -   <http://www.solvimo.com> http://www.solvimo.com

 

signature-ifop

 

 

Received on Tuesday, 30 March 2010 15:15:02 UTC