05-30-2023, 08:09 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2023
Device: PC
|
Have an example template or plugin for creating tables?
Have an example template or plugin for creating tables?
|
05-30-2023, 08:53 PM | #2 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Sure. See some of my previous posts in:
And welcome to MobileRead! |
Advert | |
|
05-31-2023, 08:08 AM | #3 |
A Hairy Wizard
Posts: 3,093
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
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> 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! |
05-31-2023, 10:02 AM | #4 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2023
Device: PC
|
Your answer is very useful.
|
05-31-2023, 01:56 PM | #5 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Yep, exactly what I do too. I have a simple "Table" HTML clip saved, then click that + copy/paste more rows as needed.
|
Advert | |
|
05-31-2023, 04:25 PM | #6 |
Grand Sorcerer
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
@daiweisc you can also generate simple tables with the HTML Tables Generator website.
|
05-31-2023, 04:52 PM | #7 |
Well trained by Cats
Posts: 29,781
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Libre Office Calc can export a spreadsheet as XHTML (it contains table code).
|
Tags |
sigil table |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI plugin] Extract tables of contents | Phssthpok | Plugins | 3 | 02-11-2024 07:47 AM |
Help Creating Save to Disk template | Proteus2626 | Library Management | 1 | 11-13-2022 06:47 PM |
creating template | EricAriens | Library Management | 1 | 08-31-2013 02:39 PM |
Set template for device in plugin | matyilona | Plugins | 1 | 05-04-2013 11:10 PM |
Trouble creating a plugin. | A0tmsk | Plugins | 2 | 04-26-2011 12:19 AM |