Table With Borders

From DPWiki
Jump to: navigation, search
DP Official Documentation - Post-Processing and Post-Processing Verification

Code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
  <title>Table with Borders Example</title>

  <style type="text/css">
<!--
#log
{
  margin: auto;
  border-collapse: collapse;
}

#log caption
{
  text-align: center;
  line-height: 1.4;
  padding: 0.5em 0;
}

#log td,
#log th
{
  padding: 0.2em;
  border-right: 1px solid black;
}

#log th
{
  text-align: center;
  font-weight: normal;
  font-style: italic;
  border-top: 4px double black;
  border-bottom: 1px solid black;
  min-width: 1em;
}

#log th.no-border-right,
#log td.no-border-right
{
  border-right: none;
}

#log th.double-border-right,
#log td.double-border-right
{
  border-right: 4px double black;
}

#log td.indent
{
  padding-left: 1.2em;
}

.center
{
  text-align: center;
}
-->
  </style>
</head>

<body>

<table id="log" summary="">
<caption>
  <big>(List of Officers and Men of the Continental Ship,
  Bon Homme Richard)</big><br/>
  (July the 26th, 1779)
</caption>
<tr>
  <th>Place & Time of Entry</th>
  <th>No.</th>
  <th>Mens Names</th>
  <th class="double-border-right">Qualities</th>
  <th> </th>
  <th> </th>
  <th class="no-border-right"> </th>
</tr>
<tr>
  <td> </td>
  <td> </td>
  <td>Robert Robison</td>
  <td class="double-border-right">Lieutenant</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>Nantes March 4th</td>
  <td> </td>
  <td>Richad Dale</td>
  <td class="double-border-right"> </td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>Pimbauf April 5th</td>
  <td> </td>
  <td>Henry Lunt</td>
  <td class="double-border-right"> </td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>Ditto Ditto do.</td>
  <td> </td>
  <td>Cutting Lunt</td>
  <td class="double-border-right">Master</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td> </td>
  <td> </td>
  <td>Matthews</td>
  <td class="double-border-right">Purser</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td> </td>
  <td> </td>
  <td>Lawrence Brooks,</td>
  <td class="double-border-right">Surgeon</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td> </td>
  <td> </td>
  <td> </td>
  <td class="double-border-right"> </td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td> </td>
  <td> </td>
  <td>William Smith</td>
  <td class="double-border-right">Masters Mate</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td> </td>
  <td> </td>
  <td>Samuel Stacey</td>
  <td class="double-border-right indent">Ditto</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>Dinan March 16th</td>
  <td> </td>
  <td>John White</td>
  <td class="double-border-right indent">Ditto</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>Pimbauf April 5th</td>
  <td> </td>
  <td>Joshua Carswell</td>
  <td class="double-border-right indent">Ditto</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td> </td>
  <td> </td>
  <td> </td>
  <td class="double-border-right"> </td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>Fugere March 19th . .</td>
  <td> </td>
  <td>Reuben Chase</td>
  <td class="double-border-right">Midshipman</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>Pimbauf April 5th</td>
  <td> </td>
  <td>Benjamin Stubbs</td>
  <td class="double-border-right indent">Ditto</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>Havar Degrace April 11th</td>
  <td>. .</td>
  <td>Thomas Potter</td>
  <td class="double-border-right indent">Ditto</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>L'Orient June 5th</td>
  <td> </td>
  <td>Beaumont Groube</td>
  <td class="double-border-right indent">Ditto</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>Lorient June 15</td>
  <td> </td>
  <td>John Meyrant</td>
  <td class="double-border-right indent">Ditto</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>Ditto Ditto 15</td>
  <td> </td>
  <td>John Linthweith</td>
  <td class="double-border-right indent">Ditto</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>Ditto Ditto 15</td>
  <td> </td>
  <td>William Daniel</td>
  <td class="double-border-right indent">Ditto</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>Ditto Ditto 15</td>
  <td> </td>
  <td>Richard Corum</td>
  <td class="double-border-right indent">Ditto</td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
<tr>
  <td>Nantz</td>
  <td> </td>
  <td>Nathl. Fenning</td>
  <td class="double-border-right"> </td>
  <td> </td>
  <td> </td>
  <td class="no-border-right"> </td>
</tr>
</table>

</body>

</html>

Screenshot

Table with Borders


To comment or request edits to this page, please contact lhamilton or hdmtrad.

Return to DP Official Documentation Menu