> I have an image in a tiddler (directly linked from my photobucket
> account). I have it floating to the left of the tiddler using this
> [<img[url.jpg]]
> What I want to do is add a little padding between the right side of
> Better yet, is there some code, CSS or otherwise, that will pad all
> images? Or do I have to specify a line for each direction (floating
> right and floating left)?
To pad all images (floating or otherwise), in your [[StyleSheet]],
add:
.viewer img { padding-left:1em; padding-right:1em; }
or
.viewer img { padding:0em 1em 0em 1em; }
This will automatically add left AND right padding to every image that
appears inside a tiddler's 'viewer' area.
If you want to control left and right padding separately, you could
add this to [[StyleSheet]]:
.leftpad img { padding-left:1em; }
.rightpad img { padding-left:1em; }
Then, in your actual tiddler content, you can write:
{{rightpad{[<img[file.jpg]]}}} This image has right padding and is
hard against left margin
and
{{leftpad{[>img[file.jpg]]}}} This image has left padding and is hard
against right margin
HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios