Thanks, Mario. After looking at the code again, I realized it was a really simple thing I missed, namely, in the original button definition, the border has the Background color, hence it is not visible.:D Plus some margin and padding were needed and that was it. w
On Sep 8, 9:00 pm, PMario <[email protected]> wrote: > hi, > > Enter this into your StyleSheet and you will see, what's going on :) > .button a {color:ColorPalette::PrimaryDark; border:1px solid green; > font-weight:normal;} > > this should work > .button a {color:ColorPalette::PrimaryDark; font-weight:normal;} > > ==== some more info ==== > The normal button CSS is > a .button {} > > because of your construction {{button{ ... }}} you need > .button a {} > > which is perfectly fine. But you have two definitions, which are > slightly different, and that's why you got 2 borders > > Firebug helps a lot > > have fun! > -m > > On Sep 8, 8:20 pm, whatever <[email protected]> wrote: > > > Hi > > I have a bunch of buttons for creating new tiddlers. Most are done > > with the NewSavedTiddler plugin or view NewTiddler macro and they have > > the same style. Then I also have a couple of "buttons" created from > > scripts and I'd like them to look the same as normal buttons (i.e. > > those made with NewTiddler macro). > > I located the styling for the normal buttons in the StyleSheetColors > > tiddler (the "button" class). I copied this class to the StyleSheet > > tiddler and added the "font-weight:normal;" property. > > It looks almost the same, however, it appears that there is also some > > sort of box from the script behind the button, which adds an > > additional border. Can someone tell me which class I need to change to > > remove that box? > > I posted a sample tohttp://scriptbuttons.tiddlyspot.com/ > > w -- 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.

