
September 7th, 2004
07:04 PM
I'm the best and worst at everything !
Status: Offline!

September 7th, 2004
09:10 PM
Comment it out like you did in the <head>
___________________
Spread Firefox!
Get Firefox!

September 7th, 2004
09:24 PM
online since 96
Status: Offline!
also, you should use this when you're coding with xhtml:
<meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />
___________________
...a post by Tobias from 

September 7th, 2004
10:36 PM
I'm the best and worst at everything !
Status: Offline!
Originally posted by gohankid77
Comment it out like you did in the <head>
that worked, thanks 
___________________
400MB space | 5GB bandwidth | free domain name | PHP/MySQL | $4.95/mo
OMG WHATS THIS?!?!?!?!?

September 7th, 2004
10:39 PM
Actually, you can keep text/html since the W3C says it's okay for XHTML 1.0. XHTML 1.1 and up requires application/xhtml+xml.
___________________
Spread Firefox!
Get Firefox!

September 8th, 2004
09:13 AM
Neverside Newbie
Status: Offline!
Originally posted by gohankid77
Actually, you can keep text/html since the W3C says it's okay for XHTML 1.0. XHTML 1.1 and up requires application/xhtml+xml.
No, it's not ok to send XHTML as text/html. It is possible to, but you should send it as application/xhtml+xml. Also, the <meta> element doesn't ensure that the browser will take it as application/xhtml+xml so it is best to send it through Apache or a PHP header.
___________________
Tables for layout is an abuse. -- Internet Explorer is unsafe.

September 8th, 2004
11:09 AM
True. I simply restated something that the W3C themselves had already documented in a table:
http://www.w3.org/TR/xhtml-media-types/#summary
You are quite right about the HTTP header thing, though, Freak. That is why server-side languages are a good thing!
___________________
Spread Firefox!
Get Firefox!