[Pmwiki-users] Re: Space Around Graphics?
Andres Yver
yver
Tue Feb 24 06:03:17 CST 2004
On Tuesday, February 24, 2004, at 08:21 AM, Roy wrote:
> Is there a way to get PmWiki to insert space around graphics (that are
> wrapped in text)? For instance, here's the code that's generate after
> uploading an image...
Roy,
In your .css, add the following line:
#wikitext img { margin: .5em; }
where wikitext is the id of the div that your image is landing in, and
.5 is the space in em you choose between the image and the text. Using
ems is nice, because if a viewer scales the font size in his browser,
the margin adjusts accordingly since an em is a measure based on a text
character (the em dash).
hth,
Andres
More information about the pmwiki-users
mailing list