CSS snippet for dataview border?

Greetings fellow humans!

I discovered this tool about a month ago and man what a ride! Here’s my still somewhat basic scenario.

What I’m trying to do

I have a dv TASK query set up on my Daily notes template. I would like a simple border around it; a title would be nice but not required. Here’s my current pitiful attempt –

Things I have tried

<p style="background:yellow"  >
 &nbps;   
</p>

dataview
  task 
  where contains(text, "#sticky") 


<p style="background:yellow"  >
 &nbps;   
</p> 

That works but ehhhhh

Is there a nicer way to format the contents of the dv?

Thanks!

Take a look at this post where I discuss the various options for targeting dataview queries:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.