mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue