Kaydet (Commit) a94fd8a8 authored tarafından Roger Erens's avatar Roger Erens Kaydeden (comit) Tim Graham

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.
üst 14e34dcf
...@@ -92,11 +92,11 @@ Then, add to your stylesheet (``polls/static/polls/style.css``): ...@@ -92,11 +92,11 @@ Then, add to your stylesheet (``polls/static/polls/style.css``):
:filename: polls/static/polls/style.css :filename: polls/static/polls/style.css
body { 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 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:: .. warning::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment