Quote:
Originally Posted by Hitch
The last time I looked, .epub did not support tables. If it does now, can somebody udpate me on this?
Anyone else?
Hitch
|
I just looked it up and tables are a required part of OPS 2.0.
Here is an example (for Sigil's codeview)
Code:
<?xml version="1.0"?>
<!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">
<head>
<title>Tables</title>
<style type="text/css">
td {padding-right:1em;}
</style>
</head>
<body>
<h1>Table demo</h1>
<table>
<tr>
<td>John Doe:</td>
<td>Sarah's Husband</td>
</tr>
<tr>
<td>Michael Black:</td>
<td>Sarah's Friend</td>
</tr>
<tr>
<td>Jane White:</td>
<td>Sarah's Married Sister</td>
</tr>
</table>
</body>
</html>