Sent by Adam Kuehn on 30 March 2004 16:04
David Dorward wrote:
>>if i got a website using xhtml 1 transitional and css2 what
>>happenst if someone else is maintaining content, e.g. including new
>>content images without making it xhtml compatible code, means
>>forgetting the closing slash?!
>
>It depends. If you are (correctly) sending the file with an XML
>content type (to browsers which support it at least) then it will
>break entirely in browsers treating it as XML and the XML parser
>will display an error message.
However, please note that it is permissible under the spec to serve
XHTML 1.0 Transitional with a text/html content type (which is
probably what happens unless you've made a point to specify
otherwise). If you do that, virtually all browsers will forgive the
missing slash. I'd check your server settings, and if it turns out
you are serving up text/html, don't lose any sleep.
Incidentally, this is marginally off-topic for this list.
HTH,
--
-Adam Kuehn
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/