View Single Post
Old 05-31-2023, 08:08 AM   #3
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by daiweisc View Post
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!
Turtle91 is offline   Reply With Quote