table width
Posted by timm on Nov 04, 2015; 5:41pm
URL: https://discuss.asciidoctor.org/table-width-tp3940.html
Hi,
I'm trying to get (HTML) tables which are as narrow as possible. By default, the table width is 100% and every column has the same width.
The table width is controlled by the 'table.spread' in the css, so I can overwrite that. But the column width is encoded in the html: e.g.
<colgroup>
<col style="width: 50%;">
<col style="width: 50%;">
</colgroup>
I my case, I would like to get rid of this colgroup or overwrite it, so that columns are only as wide as needed. Is this possible?
Best regards,
Tim