View Single Post
  #1 (permalink)  
Old 02-03-2007, 02:45 PM
wschaepe wschaepe is offline
Junior Member
 
Join Date: Feb 2007
Posts: 4
Default xml before the doc type causing IE6 to go into quirk mode

Your template generator inserts this line before the doc type declaration.
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';

But in doing that, IE6 goes into quirk mode and the page does not render correctly in the IE6 browser window. It is full left. It is fine in Firefox.

If I remove it, the page renders correctly.

One of the forums recommends removing it. The forum is:
url=http://forum.joomla.org/index.php/topic,6048.0.html

Any thought on this?

Regards,
wschaepe

Last edited by wschaepe; 02-03-2007 at 02:48 PM.