.no-border {
border: 0px;
}<table class=".no-border">
<tbody>
<tr class="evenRow"><td>myfield</td><td>myvalue</td></tr>
</tbody>
</table>I want a specific table to be bordelessThe syntax for wiki tables allows that style string in the top.However I couldn't either find a proper style in the default stylesheet to get the invisible border or make my own:tagged `$:/tags/Stylesheet`.no-border {
border: 0px;
}and the table I want to make borderless in another tiddler:
|.no-border|k
|myfield|myvalue|
Dev-tools show
<table class="no-border">
@@.borderless
<table>
</table>
@@when invoked with <table class="borderless"></table> it keeps the outermost border of the table
maybe it has to do with some surrounding tags.
stephenteacher.tiddlyspot.com/#%24%3A%2FNo%20Borders
Tag tiddler with $:/tags/Stylesheet
Code as follows:
.no-border,
.no-border th,
.no-border tr,
.no-border td{
border:0;}
.no-border .tg-0ord{text-align:right}
.no-border .tg-s6z2{text-align:center}
.no-border .tg-h0x1{text-align:left}
.no-border td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;}
.no-border th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;}
And set type to text/css
@@.no-border
|!border|less|
@@
Then works wonders. Apologies if I've duplicated.