holroy
February 26, 2024, 12:01am
3
I suggest you read up on the following two posts, and focus on the highlighting of a given cell. I reckon you can use the same trick to color all the cells you need.
First of all, your html markup is slightly skewed as you’ve contained the <thead> within the <tbody> section. This should be:
<table>
<caption> ... </captrion>
<thead>
<th> ... </th><th> ... </th>
</thead>
<tbody>
<tr> ... </tr> <tr> ... </tr>
</tbody>
</table>
This would most likely simplify and correct some of your CSS which migth be interpreted wrongly by the different engines for live preview and reading mode.
Secondly, I’m not sure why you’re even using an html table, a…
This thread will show some of the options available for styling the result of your Dataview queries by providing you with CSS selectors which targets the outer elements of the query results. The specific styling within each is left up to the reader. After first covering the basics, I’ll show a nifty hack using #tags to single out specific queries.
The basic options for styling
The three most common options to target every query of the various query types are:
TABLE queries and dv.table(): tab…
1 Like