You are here: Re: auto-stretching in IE « HTML « IT news, forums, messages
Re: auto-stretching in IE

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация