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:
parent
14e34dcf8c
commit
a94fd8a8d9
|
@ -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::
|
||||
|
||||
|
|
Loading…
Reference in New Issue