c533-bgimage-000.xht (1097B)
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 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#background-image"/> 6 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 7 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 8 <link rel="match" href="c533-bgimage-000-ref.xht" /> 9 10 <style type="text/css"><![CDATA[ 11 p {background-image: url(support/1x1-lime.png);} 12 .one {background-image: none;} 13 ]]></style> 14 <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'"/> 15 </head> 16 <body> 17 <p> This sentence should have a bright green background. </p> 18 <p> This sentence <span class="one">should have a bright green background</span> too.</p> 19 </body> 20 </html>