ornamental border for tiddlers?

42 views
Skip to first unread message

passingby

unread,
Aug 13, 2011, 11:06:19 PM8/13/11
to tiddl...@googlegroups.com
is it possible to have an ornamental border (something like flowers or a custom design/image) around tiddlers when in view mode?

Poul

unread,
Aug 14, 2011, 2:48:40 AM8/14/11
to TiddlyWiki
I haven't tried it, but the way to go would be to edit the
ViewTemplate shadow tiddler, wrapping the elements that you wanna wrap
in new element that you would adorn with various CSS attributes
(padding, background-image) - either directly or (better) by assigning
a class name to your new element and referencing that in the
StyleSheet tiddler.

/Poul

colmjude

unread,
Aug 19, 2011, 8:27:56 AM8/19/11
to tiddl...@googlegroups.com
Hi passingby,

With CSS3 you can use the border-image property to change and use custom border designs as the borders of elements.
I think it has pretty good (vendor prefixed) support in the modern browsers. Not too sure about IE.

It is pretty simple to use and could be used on the .tiddler class.

Sitepoint have a good article explaining how to use it and how it works:
http://www.sitepoint.com/css3-border-image/

Hope that helps,

Colm
Reply all
Reply to author
Forward
0 new messages