On Friday, February 24, 2023 at 5:47:50 AM UTC+1 yasai ya wrote:

Thank you!
Your post was very helpful.

But it looked like the CSS wouldn't apply without the macro tiddler was 
visible.


Defining some CSS code in an HTML STYLE tag is very useful for debugging 
and testing, but it should *not be used for production* code. 

The easiest way to define CSS code is to create a *tiddler *eg: `myStyles ` 
and *tag *it `$:/tags/Stylesheet` 
Save the tiddler and the CSS definitions will be active. 

So the *text *in the above mentioned myStyles tidddler will start as 
follows. There is no STYLE tag. Just the CSS code.

table.mycodeblock {
  border:   none;
  margin:   7px 0 11px;
}

This will make your code much friendlier to maintain. 

have fun!
mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aeb197e5-8d18-484e-bede-7c7ef1cc1932n%40googlegroups.com.

Reply via email to