Am 12.06.2007 um 12:21 schrieb Michael Wechner:
Jürgen Ragaller wrote:
Hi
Two problems with IE 6/7
1) Currently the Lenya Backend is served with an xml Prolog. This
is correct for xhtml BUT IE 6 goes crazy and switches to its
quirks mode (resulting in a bigger font size - the website looks
ugly). xhtml can be served without xml Prolog. So my suggestion
is to use the serializer option omit-xml-declaration for lenya.
+0 but add a big note about this resp. use a switch. But are you
sure this really because of the xml prolog and not because IE has
problems with application/xhml+xml?
Yes, I am - IE6 goes nuts; for IE7 they solved this problem. see
http://www.webstandards.org/learn/articles/prolog_problems/.
Do You mean a switch using a browser selector in a sitemap?
2) The content Type of the lenya backend is application/xml.
don't you mean application/xhtml+xml ?
Ups, sorry - Yes I meant application/xhtml+xml
IE 6 AND IE 7 don't know how to handle this correctly (see
http:// blogs.msdn.com/ie/archive/2005/09/15/467901.aspx). I think
the content Type should be text/html.
Unfortunately IE has really this problem and text/html should solve
this, but I think it's more generic to deliver the
content type based on the Accept header.
I found these two articles about content negotiation:
http://www.webstandards.org/learn/articles/askw3c/sep2003/
http://juicystudio.com/article/content-negotiation.php#xhtmlmime
Thanks, Michael!
Jürgen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]