Re: [tw] Re: choose style for h2 inside tiddler, not ALL h2.

2016-11-03 Thread Shay Shaked
Riz and Mark, I did try what Mark suggested, and it did not work. In the HTML, I know that classes are defined as class="[value]" as indicated here: http://www.w3schools.com/tags/att_global_class.asp. Riz solution's works, which means the syntax was wrong. I still don't understand the logic of

[tw] Re: choose style for h2 inside tiddler, not ALL h2.

2016-11-03 Thread Riz
Hi Shay, from what I know, classes have a period (so, it should be .tc-tiddler-body > and it's not). > Yes they do have a period - when declared in the stylesheet, not when called. Did you try adding Mark's code to a stylesheet and try? if I add tc-tiddler-body for that, so that

Re: [tw] Re: choose style for h2 inside tiddler, not ALL h2.

2016-11-03 Thread Shay Shaked
Yes! This one worked Riz. Thanks! On Wed, Nov 2, 2016 at 11:19 PM Riz wrote: > > > div.tc-tiddler-body h2 { color:blue; } > > -- > You received this message because you are subscribed to a topic in the > Google Groups "TiddlyWiki" group. > To unsubscribe from this

[tw] Re: choose style for h2 inside tiddler, not ALL h2.

2016-11-03 Thread Shay Shaked
I do not agree. I don't have a better idea of what exactly tc-tiddler-body is, but from what I know, classes have a period (so, it should be .tc-tiddler-body and it's not). Either way, I did try to call tc-tiddler-body in my CSS code and nothing happened. It is not recognized. I have a certain

[tw] Re: choose style for h2 inside tiddler, not ALL h2.

2016-11-02 Thread 'Mark S.' via TiddlyWiki
tc-tiddler-body is a class used in a div. The H2 tags nests inside it. My grasp of CSS may be rusty, but I don't think CSS cares what tags the classes live in or are nested in unless there happens to be a more specific CSS rule. In any event, the style I showed seems to work on mine. I don't

[tw] Re: choose style for h2 inside tiddler, not ALL h2.

2016-11-02 Thread Riz
div.tc-tiddler-body h2 { color:blue; } -- 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 post to this group, send

[tw] Re: choose style for h2 inside tiddler, not ALL h2.

2016-11-02 Thread Shay Shaked
Mark, wish it was that easy hehe. I've been playing with styles (and inspecting elements) for a while. The problem is that tc-tiddler-body is not a class, it's a ... however the only way I know to call a div in CSS is if it has an ID, and these divs do not. On Wednesday, November 2, 2016 at

[tw] Re: choose style for h2 inside tiddler, not ALL h2.

2016-11-02 Thread 'Mark S.' via TiddlyWiki
Something like this might work: .tc-tiddler-body h2{ color:blue; } If you have firefox, you can right click on an element and use "Inspect Element" to see what the various classes used in setting up the tiddler. Good luck, Mark On Wednesday, November 2, 2016 at 6:02:25 PM UTC-7, Shay Shaked