Source code
Revision control
Copy as Markdown
Other Tools
<head>
<title>CSS Test: list-style</title>
<meta name="flags" content="image" />
<link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<style type="text/css"><![CDATA[
ul { list-style: url(support/swatch-green.png) square outside;
margin: 3em; padding: 15px; color: red; }
li { margin: 0; padding: 0.1em 4em; border: solid blue; }
img { margin: 0 0 0 15px; }
span { color: black; }
]]></style>
</head>
<body>
<ul class="two">
<li><span>⇦ There should be a green square to the left <em>outside this blue box</em>, and no red.</span></li>
</ul>
</body>
</html>