It looks to me that one of your problems is that you forgot to close your <head> tag. Your document header should look like this:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml vers="1.0" lang="en"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
...
</body>
</html>
However, I would recommend that you upgrade to HTML 5, which is much better than XHTML. This is a normal HTML5 document:
HTML Code:
<!DOCTYPE html>
<html>
<head>
...your code here...
</head>
</html>
So no messy DTD or XML attributes to deal with. Much easier to use, and much cooler.