|
Posted by Evert | Collab on 07/20/05 14:16
Spartanicus wrote:
> Evert | Collab <evertN0SP4N@collab.nl> wrote:
>
>
>>>>I have a <div> in my XHTML1.1 file
>>>
>>>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?
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
better to use the header, but if you can't for some reason you should
use the http-equiv.
thanks,
Evert
Navigation:
[Reply to this message]
|