type foo/bar used for a document fragment


The Mime type specified is meant to describe a complete document, (i.e., including a beginning <html> tag).


Change the type to html or xhtml as appropriate. These types are meant to indicate that the content is a document fragment, more specifically, content that one could validly appear directly inside an html div element.

Not clear? Disagree?

You might be able to find help in one of these fine resources.

Copyright © 2002-4 Mark Pilgrim and Sam Ruby