View Single Post
Old 09-30-2012, 02:31 PM   #8
cathalmc
Member
cathalmc ought to be getting tired of karma fortunes by now.cathalmc ought to be getting tired of karma fortunes by now.cathalmc ought to be getting tired of karma fortunes by now.cathalmc ought to be getting tired of karma fortunes by now.cathalmc ought to be getting tired of karma fortunes by now.cathalmc ought to be getting tired of karma fortunes by now.cathalmc ought to be getting tired of karma fortunes by now.cathalmc ought to be getting tired of karma fortunes by now.cathalmc ought to be getting tired of karma fortunes by now.cathalmc ought to be getting tired of karma fortunes by now.cathalmc ought to be getting tired of karma fortunes by now.
 
Posts: 16
Karma: 510134
Join Date: Sep 2012
Device: Kindle
Hi Sara

Sigil is fine for creating tables in ebooks. I've done loadsa em.

This simple(ish!) HTML code will give you a basic 3x3 table.

<tr> defines a row in the table.

<th> defines a column header (which will appear as bold in the ebook). The first row contains the column headings.

<td> defines a cell of data within the table.



<table>
<tr>
<th scope="col">Column Heading 1</th>

<th scope="col">Column Heading 2</th>

<th scope="col">Column Heading 3</th>
</tr>

<tr>
<td>Row 1 Cell 1</td>

<td>Row 1 Cell 2</td>

<td>Row 1 Cell 3</td>
</tr>

<tr>
<td>Row 2 Cell 1</td>

<td>Row 2 Cell 2</td>

<td>Row 2 Cell 3</td>
</tr>
</table>


You can also use CSS to modify the format of the table, but that's a little bit trickier and best studied with a clear tutorial online.
cathalmc is offline   Reply With Quote