Source code
Revision control
Copy as Markdown
Other Tools
<head>
<title>CSS Test: border-right</title>
<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[
body { color: blue; }
ul { margin-right: 25%; }
.threea {border-right: orange medium solid;}
.threeb {border-right: lime medium solid;}
.threec {border-right: yellow medium solid;}
]]></style>
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties"/>
</head>
<body>
<p>There should be a solid line to the right of the text below,
having three segments each of a different colour as indicated.</p>
<ul>
<li class="threea">Orange orange...
<ul>
<li>...orange orange...
</li>
<li>...orange orange...
</li>
<li>...orange orange.
</li>
</ul>
</li>
<li class="threeb">Lime.</li>
<li class="threec">Yellow yellow yellow yellow yellow yellow yellow
yellow yellow yellow yellow yellow yellow yellow yellow yellow
yellow yellow yellow yellow yellow yellow yellow yellow yellow
yellow yellow yellow yellow yellow yellow yellow yellow yellow
yellow yellow yellow yellow yellow yellow yellow yellow yellow
yellow yellow yellow yellow yellow yellow yellow yellow yellow
yellow yellow yellow yellow yellow yellow yellow yellow yellow
yellow yellow yellow yellow yellow yellow yellow yellow yellow
yellow yellow yellow yellow yellow yellow yellow yellow yellow
yellow yellow yellow yellow yellow yellow yellow yellow yellow
yellow yellow yellow yellow yellow yellow yellow yellow yellow
yellow yellow yellow yellow yellow yellow yellow yellow.</li>
</ul>
</body>
</html>