Marc Greenstock wrote:
The correct content type or MIME type for an XHTML document is "application/xhtml+xml".
Although I might add internet explorer doesn't understand it so you need to determine if the users browser accepts it.You can do this in PHP by writing:
<?php if(strstr($_SERVER['HTTP_ACCEPT'],"application/xhtml+xml")) header("Content-type: application/xhtml+xml"); else header("Content-type: text/html"); ?>
So how would you include the last bit of code(charset) as shown below: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
And do I just put your php snippet within the head tags ?
Jeffery Fernandez http://melbourne.ug.php.net
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************
