Click to See Complete Forum and Search --> : conflict between mime type and document type


rgfirefly24
03-24-2008, 04:34 PM
ok, i'm getting a validation warning when i validate my .htm file un der xhtml 1.1

it says that there is a conflict between mime type and document type. I cannot use CSS to help bypass this just straight html 4.0/xhtml 1.0-1.1

my doctype is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

felgall
03-24-2008, 08:24 PM
Well the doctype says it is XHTML and the file type is for HTML.

While XHTML 1.0 can be served as HTML, XHTML 1.1 can't.