Aha. So, it's the "button" class. Thanks.

Ehm.. I haven't tried FireBug yet, but I have a question: does it show
all the document basing on DOM and without any scripts? I mean, when I
hit ctrl+u in Opera, I get just the source code and of course nothing
that's generated by TW scripts..

As I can see, only classes-based CSS is available while the @@..@@
wrappings do not the work. Ok.

Also, do you know how to change CSS of "onfocus" and "onclick" "state"
of buttons? (I know, event, not state, whatever)

On 9 ноя, 23:01, PMario <[email protected]> wrote:
> Hi,
> A working testcase can be found at TeamWork [1]
>
> [SliderButtonCSS] tiddler contains:
> {{myCSS{<<slider chSliderXX "SliderButtonCSS##section1" "click me, I
> am a slider" "some help text">>}}}
>
> !section1
> This is text inside a slider
> !end
>
> /*-- copy this to your StyleSheet --*/
> .myCSS .button {
>         border: 1px solid green;
>         display: block;
>
> }
>
> If you have a look with eg: Firebug, and inspect the slider button,
> you will see, every slider has a class="button" which can be changed
> globally, if you want by
> .button {} But this will have a lot of side effects :)
>
> thats why a wrapper {{myCSS{}}} is needed.
>
> -m
> PS: firebug helps a lot
>
> [1]http://hoster.peermore.com/recipes/TeamWork/tiddlers.wiki#SliderButto...
> On Nov 9, 8:17 pm, Yakov <[email protected]> wrote:
>
>
>
> > So, many macros that add an element to a document make "the same"
> > button. Can I switch it's CSS somehow?
>
> > To make this clearer, let's consider the <<slider>> macro. For
> > instance, if I add just __ around the macro, like this:
>
> > __<<slider ...>>__
>
> > than all the content which opens after clicking the button gets
> > underlined. So, can I change the button's style without causing the
> > content to change? Or, is it rather the <<slider>>'s problem and I can
> > use usual styling for all others without such side effects?
>
> > Do ~all macros make and "input" element so that it is enough to make a
>
> > .myMacroStyling input { ... }
>
> > line in CSS to be able to change them all?
>
> > Thanks, Yakov.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to