blob: 63d6419733cf085f10d9626cda8f44e5b20788e1 [file] [log] [blame]
<title>Background on 'table-cell'</title>
<link rel="next" href="backgr_layers-opacity.html" title="Background Layers: opacity">
<link rel="prev" href="backgr_border-table-column.html" title="Background with Borders: Background on 'table-column'">
<link rel="contents" href="./backgr_index.html" title="Table of Contents">
<link rel="stylesheet" type="text/css" href="resources/common.css">
<script src="resources/wait-for-onload.js"></script>
<style type="text/css">
table {border: 5px dotted}
.e {background: black url(resources/edge.gif) top left no-repeat}
.m {background: black url(resources/edge.gif) bottom right no-repeat}
<h3> Background on 'table-cell'</h3>
<table class="separate">
<caption>With 'border-collapse: separate'</caption>
<colgroup class="colgroup-A">
<col class="col-1">
<col class="col-2">
<col class="col-3">
<colgroup class="colgroup-B">
<col class="col-4">
<tr class="th-row-1">
<th class="a">TH A</th>
<th class="b">TH B</th>
<th class="c">TH C</th>
<th class="d">TH D</th>
<tr class="tf-row-1">
<td class="m" colspan=2>TD M</td>
<td class="o">TD O</td>
<td class="p">TD P</td>
<tr class="tb-row-1">
<td class="e" rowspan=2>TD E</td>
<td class="f">TD F</td>
<td class="g">TD G</td>
<td class="h">TD H</td>
<tr class="tb-row-2">
<td class="j">TD J</td>
<td class="k">TD K</td>
<td class="l">TD L</td>
<p>Two cells are styled.</p>
<p>There should be three aqua stripes just inside the top and left padding edges of cell E.</p>
<p>There should be three aqua stripes just inside the bottom and right padding edges of Cell M</a>
<div class="validity">
<a href=""><img
src="resources/valid-html401.png" height="31" width="88"
alt="Valid HTML 4.01!"></a>
CSS2 Table Backgrounds Test Suite designed and written by fantasai &lt;fantasai&#64;;