Hi Andrew

The centring is part of the browsers default styles for the button element. You 
can avoid it by specifying a different element to be used by the button widget 
instead:

<$button tag="div">
…
</$button>

In that example, an ordinary DIV will be used instead of the button element, 
avoiding the styling issues.

Best wishes

Jeremy.


> On 16 Feb 2016, at 16:16, Andrew Whiting <[email protected]> wrote:
> 
> I should add that I do have templates I use to include the title or caption 
> of the tiddler I am transcluding as a link but sometimes I want to just embed 
> the content but still maintain the link.
> 
> On Tuesday, February 16, 2016 at 1:56:36 PM UTC+1, Mat wrote:
> The transcluded block there is, I believe, what becomes the button text. Is 
> that really what you want? Where do you want the text-to-be-edited to appear?
> 
> I think this is styled to appear in the center of the button, possibly in the 
> class you're applying or some underlying other class.
> 
> <:-)
> 
> -- 
> 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 [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/72f6e254-3527-40b3-853e-ae64719d0f28%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/72f6e254-3527-40b3-853e-ae64719d0f28%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/581EE071-B4B7-44C7-BDDD-865F3108ED4F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to