View Single Post
Old 05-29-2010, 03:56 PM   #6
pietvo
Reader
pietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notes
 
pietvo's Avatar
 
Posts: 520
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
Quote:
Originally Posted by Hitch View Post
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>

Last edited by pietvo; 05-29-2010 at 04:59 PM. Reason: Example added
pietvo is offline   Reply With Quote