[pmwiki-users] border around a table cell

Hans design5 at softflow.co.uk
Sun Jun 22 11:27:15 CDT 2008


Sunday, June 22, 2008, 4:27:07 PM, Josh wrote:

> I'm trying to create a boarder around an image in a table.  Normally I would
> achieve this by creating a table within a table and then setting a border on
> that new table.  The image with the boarder around it needs to be directly
> to the right of some text.

you can float the image in a table cell, and add a border directly
via css or wiki styles.

The following example does this using the predefined wiki style
'frame' and the float right wiki style 'rfloat':

|| border=0 width=300px
|| cell || %rfloat frame%Attach:image.jpg%% text text text text text text text text text text ||
|| cell || cell ||


  ~Hans




More information about the pmwiki-users mailing list