c566-list-stl-001.xht (1051B)
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: list-style</title> 5 <meta name="flags" content="image" /> 6 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#list-style"/> 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 <style type="text/css"><![CDATA[ 10 ul { list-style: url(support/swatch-green.png) square outside; 11 margin: 3em; padding: 15px; color: red; } 12 li { margin: 0; padding: 0.1em 4em; border: solid blue; } 13 img { margin: 0 0 0 15px; } 14 span { color: black; } 15 ]]></style> 16 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#lists" title="12.5 Lists"/> 17 </head> 18 <body> 19 <ul class="two"> 20 <li><span>⇦ There should be a green square to the left <em>outside this blue box</em>, and no red.</span></li> 21 </ul> 22 </body> 23 </html>