Quote:
Originally Posted by daiweisc
Have an example template or plugin for creating tables?
|
Welcome to MR!!
Tex has several good examples on how to
design your table - definitely take a look at those threads.
As for the mechanics of adding a table into Sigil - I use clips and then copy paste as necessary.
I set the clip bars to be visible just below the icons then set a 'Table' clip to:
Code:
<table class="">
<thead>
<tr><th colspan="2"></th></tr>
</thead>
<tfoot>
<tr><td colspan="2"></td></tr>
</tfoot>
<tbody>
<tr><td></td><td></td></tr>
<tr><td></td><td></td></tr>
</tbody>
</table>
Then I can insert this template wherever the cursor is placed.
You might need to use copy/paste to adjust the number of columns/rows of your table...and of course use CSS to style the table according to your wishes.
Cheers!