Hi David,
The <button> elemnt is defined to use centered text. So it doesn't inherit
"text-align" from it's parentes.
You'd need to modify the .btn-invisible CSS. Which is probably not what you
want.
If you open the browsers dev tools and modify it like so, you'll see that
it works.
.btn-invisible {
padding: 0px;
margin: 0px;
background: none repeat scroll 0% 0% transparent;
border: medium none;
text-align: left;
}
The problem is, it modifies all buttons :/
So your template, that creates the TOC will need something like this
<button class="btn-invisible btn-mytoc" ..>
and a CSS like this should do the job.
.btn-mytoc {
text-align: left;
}
I didn't test it. So if it doesn't work, ... tell me the link to your TOC
template and I'll have an other look.
-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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.