[pmwiki-users] Indenting an entire table to line up with text.

Roman romat2 at gmail.com
Thu Apr 24 05:05:11 CDT 2008


You can use class in table:

(:table class=indent border=1 cellpadding=5 cellspacing=0:)

In your case you should add new class for second level

.indent2 { margin-left:80px; }

and then use

(:table class=indent2 border=1 cellpadding=5 cellspacing=0:)

Roman

On Thu, Apr 24, 2008 at 12:49 AM, Ingersoll, Nelson <
Nelson.Ingersoll at atmel.com> wrote:

>
>   I am trying to figure out how to indent a table.  The indentation
> requirement is simple enough.  I want the table to align with an existing
> indent.  Take this example PmWiki snippet:
>
> **(:toggle div=aaa init=hide lshow='AAAA' lhide='AAAA':)
> (:div1 id=aaa:)
> (:table border=1 cellpadding=5 cellspacing=0:)
> (:cell:) '''System'''
> (:cell:) '''Contact'''
> (:cell:) '''Email'''
> (:cell:) '''Phone'''
> (:cellnr:) BLEH
> (:cell:) John Doe
> (:cell:) john.doe at heynow.com
> (:cell:)
> (:cellnr:) HELB
> (:cell:) Nelson Niceguy
> (:cell:) nelson's not here anymore
> (:cell:) 111-222-4444
> (:cellnr:) REALLY
> (:cell:) Mr. Splashy Pants
> (:cell:) splashy.pants@ whales.xxx
> (:cell:) 112-123-4567
> (:tableend:)
> (:div1end:)
>
>
> The table is hidden under the 'AAAA' toggle-link.  When I toggle the entry
> open I would like for the table to align with the '**' indentation.  Ideally
> the indentation might follow along the same rules as a '*', '**', '***'
> indentation.  Is there a way to do this?  Thank you for your help.
>
> - Nelson  <-- banged head as a young programmer.
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080424/f7b1162d/attachment.html 


More information about the pmwiki-users mailing list