Hi all,
First of all, this is probably a little OT here, please point me to a
better place if you deem that appropriate.
My website (see sig) validates fine, but with one annoying warning:
The document is being served with the text/html Mime Type which is not a
registered media type for the XHTML 1.1 Document Type. The recommended
media type for this document is: application/xhtml+xml
The index file is called index.shtml since it uses some SSI. To tell
this to the server, I include a little .htaccess file in the directory
containing the following line:
DirectoryIndex index.shtml
I tried to fix the warning by adding the following:
# AddType application/xhtml+xml shtml html
But then the SSI no longer works, and Firefox shows the page with a
white border around <body>. Same thing happens if I call it index.xhtml.
Seems like this is a Firefox bug? What is the proper way to handle this?
Cheers, H.
--
Hendrik Maryns
=============== ===
Ask smart questions, get good answers:
First of all, this is probably a little OT here, please point me to a
better place if you deem that appropriate.
My website (see sig) validates fine, but with one annoying warning:
The document is being served with the text/html Mime Type which is not a
registered media type for the XHTML 1.1 Document Type. The recommended
media type for this document is: application/xhtml+xml
The index file is called index.shtml since it uses some SSI. To tell
this to the server, I include a little .htaccess file in the directory
containing the following line:
DirectoryIndex index.shtml
I tried to fix the warning by adding the following:
# AddType application/xhtml+xml shtml html
But then the SSI no longer works, and Firefox shows the page with a
white border around <body>. Same thing happens if I call it index.xhtml.
Seems like this is a Firefox bug? What is the proper way to handle this?
Cheers, H.
--
Hendrik Maryns
=============== ===
Ask smart questions, get good answers:
Comment