Used a CSS positioning in tutorial 6 that doesn't differ across browsers.

Otherwise in Firefox, the <html> and <body> elements take just as much height
is needed for the content and so the image doesn't appear at the bottom of the
window.
This commit is contained in:
Roger Erens 2018-02-21 18:07:24 +01:00 committed by Tim Graham
parent 14e34dcf8c
commit a94fd8a8d9
1 changed files with 2 additions and 2 deletions

View File

@ -92,11 +92,11 @@ Then, add to your stylesheet (``polls/static/polls/style.css``):
:filename: polls/static/polls/style.css
body {
background: white url("images/background.gif") no-repeat right bottom;
background: white url("images/background.gif") no-repeat;
}
Reload ``http://localhost:8000/polls/`` and you should see the background
loaded in the bottom right of the screen.
loaded in the top left of the screen.
.. warning::