views:

50

answers:

1

It's a continuation of this post : http://stackoverflow.com/questions/3949941/what-throws-internet-explorer-into-quirks-mode .

I have a webpage, built on Django LFC CMS ( http://snow4life.pl/ ). Problem is that when I upload my files to server, the default templates (http://bitbucket.org/diefenbach/lfc-theme-1.0/src/tip/lfc_theme/templates/lfc/base.html) are somehow edited by the server and some random whitespaces are added before the DOCTYPE declaration. The declaration itself is moved somewhere in the <body> segment. This of course throws internet explorer into quirks mode. This is not the templates fault, as on the demo page it is working normally ( http://demo.django-lfc.com/). Do you have any ideas what can cause this ? I've tried uploading empty html pages, samples from w3c, editing it in hex mode and nothing works.


EDIT

I'm uploading via WinSCP. Here are the screenshots from edits in vi on server, winscp's editor on server, vim on my local disk and vi(hex) locally.

http://img59.imageshack.us/img59/1614/54850105.png

A: 

You can always force ie to run in standards mode :

<meta http-equiv="X-UA-Compatible" content="IE=8" />

owca