Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head>
<title>CSS Test: Border Conflict Resolution (width) - ridge/outset</title>
<link rel="author" title="Lachlan Hunt" href="http://lachy.id.au/about/contact"/>
<style type="text/css"><![CDATA[
table { border-collapse: collapse; }
td { border: 5px outset lime; height: 3em; }
.c5 { border-width: 10px; border-style: ridge; }
.c2 { border-bottom-color: red; }
.c6 { border-left-color: red; }
.c8 { border-top-color: red; }
.c4 { border-right-color: red; }
]]></style>
<link title="17.6.2.1 Border conflict resolution" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution" rel="help"/>
</head>
<body>
<p>There should be no red borders on the table below</p>
<table>
<tr>
<td class="c1">outset</td><td class="c2">outset</td><td class="c3">outset</td>
</tr>
<tr>
<td class="c4">outset</td><td class="c5">ridge</td><td class="c6">outset</td>
</tr>
<tr>
<td class="c7">outset</td><td class="c8">outset</td><td class="c9">outset</td>
</tr>
</table>
</body>
</html>