notebook icon indicating copy to clipboard operation
notebook copied to clipboard

Cannot get solid html table borders in jupyter notebook

Open amine-aboufirass opened this issue 5 years ago • 3 comments

I am trying to get solid black table borders on my html table in jupyter notebook. I run the following code in a markdown cell:

<table {style="border-style: solid;"}>
    <tr>
        <td>parameter
        </td>
        <td>eenheid
        </td>
        <td>waarde
        </td>
    </tr>   
    <tr>
        <td>$RR$
        </td>
        <td>$\text{[-]}$
        </td>
        <td>0.03
        </td>
    </tr>
</table>

But now I would like all cells in the table (all td and tr elements) to have their own border. Is there really no other way to do this than adding a {style="border-style: solid;"} to each td and tr element?

Adding table borders is really basic functionality. It shouldn't be this hard.

amine-aboufirass avatar Oct 15 '19 05:10 amine-aboufirass

Anyone?

amine-aboufirass avatar Nov 02 '19 15:11 amine-aboufirass

%%HTML

you could try entering the above then you probably pass your document as csv(maybe from exel), in summary any document you pass in with a table format will have a border once you enter the above

tunji-dev avatar Sep 04 '20 17:09 tunji-dev

Same problem

Line290 avatar Aug 31 '22 08:08 Line290