Did I not express myself clearly?
I
know you are using xhtml syntax, and I have said this, what I am saying is that you are using xhtml syntax, but in html.
Your doctype clearly states you're using html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Yet, you say you're using xhtml in your <html> xmlns attribute:
<html xmlns="
http://www.w3.org/1999/xhtml">
This is what i have been saying..
I personally use xhtml 1.1, thus my document consists of a prefix of:
[php]
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml" xml:lang="en-gb">
…
[/php]also, if you choose to use xhtml, you should use a server side language, or the file extension .xhtml to serve it as xhtml, and not text/html, note: this will not allow ie to view your page at all, but web standards are about being semantic, and not "doing this because of this" (saving it as .html etc)