Django: using templates, floating design

Faced with a problem very strange, I'm just learning Django, and maybe don't understand something, and still.

Is there a website, of course in Django. On the main page there is a block with the news. The very page is built using twitter bootstrap. I decided that was a good idea as it should be to make a basic template, and from it to inherit from everything else (as in Django as I understand and accepted). Well, I created another HTML file with the template prescribed in this line:

{% extends "base.html" %}

Well, here now displayed it using render_to_response. Opened in Opera — everything works as it should work, opened exactly the same page as if I've displayed a basic template. For the sake of interest opened in other browsers, and that's when my brain shut down. In FireFox and Chrome somehow on the top of the page appeared a string with spaces (that's just a text string with lots of spaces), and fields for entering a username — password is tapered so that the text inside is fully climbs (they too, by the way at the top). In Internet explorer, so generally ad — half page is moved somewhere to the left of the screen.

Well, I was horrified, reflect back just a basic template, and not inherited from him — everything in its place

In connection with this question — how so? It's all the same I'm an idiot somewhere managed to screw it up, or the system of inheritance is still something attributed to changes in the base template? Does not take an expert in how design can go.
October 8th 19 at 03:05
1 answer
October 8th 19 at 03:07
Solution
In base.html accidentally, the BOM character is not framed? wget-ohms if the download page looks like the beginning of a file?
Pulled wget-th file by substituting the base.html and the file after the substitution of which we obtain the page from which base.html inherited. In the end, the last (which curve) to 3 bytes more, but visually in editors (Notepad++, Sublime ) are identical. - Collin_Mills commented on October 8th 19 at 03:10
In General, do not understand what is the essence, but recode them Base.html in Notepad++ in UTF-8 without BOM and saved. Nothing has changed. - Collin_Mills commented on October 8th 19 at 03:13
In General, Yes, you were absolutely right. UTF8-BOM-Remover solved the problem. - Collin_Mills commented on October 8th 19 at 03:16

Find more questions by tags DjangoBootstrapPython