epub table/column widths
I am trying to learn everything I can about coding tables for epub. I have read every tutorial and forum I can find, but can't find anything other than obvious basics. I need to have a table that changes its width in accordance with the fonts and page widths being used in an epub eReader, and the columns maintain the same relative width dependent on the width of the table. Seems like a basic task, but nothing I can figure to do actually works: for me, the obvious solution is to work in percents, set table width at 100% and each column to a fraction of 100% so that the total for all columns add up to 100% -- but that doesn't work. The result seems almost random -- some smaller columns, some larger columns, and left-over table space.
I would appreciate any ideas on how to do what I want -- surely it is something that many of you know how to do.
BTW -- wouldn't it be something to have a WYSIWYG table generator in Sigil where you simply drag the column lines and table border to what you want and let Sigil generate the code? Could even include setting background and font colors of cells, columns, rows...
RW
|