01-29-2024, 06:03 AM | #1 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Sep 2023
Device: none
|
Proper tables
Greetings,
From several posts I get the impression that td/tr is mostly obsolete in epub format. The main reason is its lack of proper formatting with overall design. The alternatives that I've see is to use grid or flex. But here comes my question does koreader have 100% flex and grid css support? In the past I had so much troubles with lo/li and dt/dd with horrible render results. If anybody can give me some hints on how to create responsive tables in koreader it'd be great. The last question is whether flex or grid will resize in vertical and horizontal mode. Thanks in advance. |
01-31-2024, 05:30 PM | #2 | ||
Wizard
Posts: 1,675
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Quote:
Quote:
|
||
Advert | |
|
02-01-2024, 08:27 AM | #3 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Sep 2023
Device: none
|
I was gonna answer myself.
Indeed, after some trials koreader doesn't support at all. Grid offers interesting ways of organizing data in a sematic data. But given the purpose I think it's overdoing things. Traditional tables is good enough for now. I was a bit annoyed about td/tr not separating the header from syntax row. Or the td/tr not able to create columnated data. That is one block of td/tr can't be displayed as column. Also many blogs online css tables are superior because of this or that reason. Anyways, traditional tables are fine after all. Thanks for replying. |
02-02-2024, 04:40 AM | #4 | ||
Enthusiast
Posts: 36
Karma: 10
Join Date: Sep 2023
Device: none
|
It gets a bit more complicated.
Koreader actually is able to render rotated rows as columns with some changed in the settings. The following render choices are available: Legacy Flat Book Web And this is the description in the handbook: Quote:
Code:
tr { display: block; float: left; } th, td { display: block; } It's interesting to note that Kobo does render the above css snippet correctly. A search online about epub and tables there's some official specs about the matter: https://epubknowledge.com/docs/tables Quote:
Now comes the difficult part on deciding WHAT TO DO for writing the ebook! It takes some time and effort to create content and with so many choices I'd rather avoid using the wrong format for the epub. a - Use 'css' column rows AND use koreader in "LEGACY" mode. b - Or use official epub table specs and force column data into unnatural row html syntax. I need help. What's the general consensus on the issue??? Thanks in advance. |
||
02-03-2024, 10:29 AM | #5 |
Wizard
Posts: 1,675
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
The general consensus is that you want to add a minimal testcase, and probably also a screenshot or two.
But ignoring that for a second, if you don't want tables why are you using tables? |
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What would be the proper e-reader for me | rainalkar | Which one should I buy? | 18 | 10-10-2013 05:39 PM |
Is this a proper expression? | VydorScope | Writers' Corner | 14 | 11-22-2012 07:59 PM |
Proper Use of Kobo?? | strawfordt | Kobo Reader | 7 | 06-04-2010 12:40 AM |
A proper introduction | Seabound | Introduce Yourself | 6 | 09-26-2008 03:24 AM |