XHTML header

XHTML header

Tuesday 04 November 2003 9:28:22 am - 2 replies

Author Message

Alex Jones

Tuesday 04 November 2003 10:25:27 am

There is a known problem with IE when using the XML declaration and a doctype, which is quite frustrating. Try eliminating the XML declaration and moving the character encoding to a meta tag. That should fix it.

There is a pretty good discussion of this available at A List Apart: http://www.alistapart.com/discuss/doctype/ The discussion relates to the article "Fix Your Site With the Right DOCTYPE!" (http://www.alistapart.com/articles/doctype/).

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

David Syers

Wednesday 05 November 2003 6:23:04 am

Thanks for the pointer Alex.

I turns out it was after adding some code before the HTML was output. eZ was producing whitespace and IE didn't like the fact that the <?xml version="1.0" encoding="utf-8"?> was not the first line of the output.

Fixed the whitespace and IE is now happy again!

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.