View Single Post
Old 04-25-2020, 07:14 PM   #4
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by pdurrant View Post
Perhaps an HTML table. So long at it's not too big.
Yes, this is the correct answer. Don't waste time with dot leaders.

Code:
<table>
<tr><td>ABC</td><td>12,000 KG</td></tr>
<tr><td>CDFGH</td><td>34,000 KG</td></tr>
<tr><td>IJKL</td><td>56,000 KG</td></tr>
</table>
If you wanted to adjust alignment, then give the <td> further classes with:

text-align: left;
or
text-align: right;

Quote:
Originally Posted by qqk View Post
Filling the middle with dots is good to have but not must-have if technically impossible.
Back in 2017 we discussed a little about "dot leaders" in EPUB:

Table-like block with dotted lines

and trying to hack a few things with CSS3... but it won't be supported on devices AT ALL, and are incredibly glitchy.

Just stick with basic HTML tables and you'll be fine. There's no need to try to completely replicated the original Print as long as all the core information still comes across clearly.
Tex2002ans is offline   Reply With Quote