|
Posted by Spartanicus on 07/20/05 15:36
Evert | Collab <evertN0SP4N@collab.nl> wrote:
>>>>The exemption that XHTML that follows Appendix C guidelines may be
>>>>served as text/html only applies to XHTML 1.0.
>>>
>>>I am aware of that
>>
>> Then why are you violating the guidelines?
>
>Who told you I was?
You did by saying that you have an issue in IE, that means you are
serving it as text/html, or it wouldn't work at all in IE.
>To specify this, I have use the following line of php code:
>
>header('Content-Type: application/xhtml+xml; charset=utf-8');
>
>the http-equiv meta tag is a replacement for a normal http header.
It's not. The http content-type header is the only thing that matters.
>It's
>better to use the header, but if you can't for some reason you should
>use the http-equiv.
You *are* using the http header, and it says text/html. If you are not
able to change it, adding a meta declaration does not change the fact
that you are violating the guidelines.
--
Spartanicus
Navigation:
[Reply to this message]
|