Forum Moderators: open
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
[ <!ATTLIST a target CDATA #IMPLIED> ]>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />
How can I change the server so that it will spit out the right MIME type? But, more importantly, how can I still get it to work with IE (which doesn't support xhtml at all, when properly served) AND not have those darned characters at the top of the screen?
I found a php code sample from xml.com that allows it to distinguish between browsers because of the HTTP_ACCEPT header that browsers send out, but I am betting it will still put those characters up on the top of the screen in IE...
Any ingenious solutions?
Thanks,
Tobyn
The meta tag is useless, get rid of it. The Attlist thing not working in IE means that IE doesn't support that xhtml syntax, which it doesn't, I've also seen mozilla do this by the way, if you want to serve real xhtml you must use server side scripting, there's no other way practically speaking.
delivers only application/xhtml+xml when listed in HTTP_ACCEPT