summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Erens <roger.erens@e-s-c.biz>2018-02-21 18:07:24 +0100
committerTim Graham <timograham@gmail.com>2018-02-21 12:07:41 -0500
commit35cbb0baf4b547c7723056a8e34f63f80c2d908e (patch)
treea347ed1d5713b3995714b3138bf31d007b42855b
parentea0dc5df094c25ff7484353126cba89d1a281889 (diff)
[2.0.x] 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. Backport of a94fd8a8d9ee02f4abd872fb2b7509c19ac5d44e from master
-rw-r--r--docs/intro/tutorial06.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/intro/tutorial06.txt b/docs/intro/tutorial06.txt
index 0d3dd23315..c520b1838e 100644
--- a/docs/intro/tutorial06.txt
+++ b/docs/intro/tutorial06.txt
@@ -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::