OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
XHTML - which MIME type do you use? (and how)
This page's ID:
26134
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
That's what I do on a site in XHTML1.1 :[code]$encodingType = "utf-8"; $acceptXml = stristr( $_SERVER["HTTP_ACCEPT"], "application/xhtml+xml" ); if( $acceptXml ) header( "Content-type: application/xhtml+xml; charset=". $encodingType ); else header( "Content-type: text/html; charset=". $encodingType );[/code]It works like a charm in IE, FF, OP. Hope that helps, [url=http://www.p01.org/][sigrotate][img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love_small.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_charly.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_dk.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_reason.gif[/img][/sigrotate][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »