[Pmwiki-users] centering images

Patrick R. Michaud pmichaud
Fri May 14 14:50:07 CDT 2004


On Fri, May 14, 2004 at 01:23:42PM -0700, Andrew Shapira wrote:
> Here's one thing that he asked about here that I've had trouble with.
> I'd like to center an image with respect to the area of text that it's in.
> || http://mysite.org/imagename.gif ||
> I tried this in the pmwiki.org sandbox, and the image appears on the left
> side of the page in the same way as it does without the table markup.
> Ditto with this:
> || Attach:imagename.gif ||
> (Attach is what I really want to use here)
> 
> Any ideas?  

You also have to specify that you want the table to take up the
full width of the page.

  ||width='100%'
  || Attach:imagename.gif ||

You only have to do the ||width='100%' part once on a page -- it
stays in effect for all remaining tables or until changed.

Pm



More information about the pmwiki-users mailing list