[pmwiki-users] cookbook: skin gallery

DaveG pmwiki at solidgone.com
Mon Nov 12 17:15:38 CST 2007


> One question to those familiar with tables and divs:
> I had to enclose all the floating thumb gallery divs with a table with
> width setting, to provide a surrounding box which will force the width
> of a surrounding skin layout table cell. I used  a div first, but,
> working with the Triad skin, which is table-based, the left and right
> skin columns would not shrink and made the middle column too narrow to
> allow two floaters side by side. It seems tables have more strength
> than divs when it comes to specifying width. But maybe someone know
> better and can correct this flaw, or give advise.
I suspect you were using:
   (:div width="700px":)

Using this instead should work better:
   (:div style="width:700px":)

I've updated the page -- let me know how it works with Triad.

  ~ ~ David



More information about the pmwiki-users mailing list