c533-bgimage-001.xht (1083B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: background-image</title> 5 <meta name="flags" content="image" /> 6 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#background-image"/> 7 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 8 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 9 <link rel="match" href="../reference/ref-this-text-should-be-green.xht" /> 10 11 <style type="text/css"><![CDATA[ 12 body { color: green; } 13 p {background-image: url(support/1x1-red.png);} 14 .two {background-image: none;} 15 ]]></style> 16 <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" title="14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'"/> 17 </head> 18 <body> 19 <p class="two"> 20 This text should be green. 21 </p> 22 </body> 23 </html>