background-bg-pos-204

Background Position: bottom right and the viewport

WeasyPrint

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3 <head>
 4 <title>CSS Test: Background Position: bottom right and the viewport</title>
 5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/bg-pos-2.html" type="text/html">
 7   <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background">
 8 <style type="text/css">
 9    html { background: bottom right url(support/diamond.png) scroll white no-repeat; color: black; height: 100%; }
10    html, body { margin: 0; border: 0; padding: 0; }
11    p { margin: 0; padding: 2em; }
12 </style>
13 
14 </head>
15 <body>
16 <p>There should be a single fuchsia diamond at the bottom right of the viewport.</p></body>
17 </html>