Roman,

   First, thank you!  I use a slightly modified version of the monobook theme.  
I added the line ".indent2 { margin-left:80px; }" to the end of the 
monobook.css, actually renamed mononei.css.  Thereafter I put the 
"class=indent2" into the table declaration, e.g.

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

and it works beautifully.

   Secondly, apparently when I initially replied I sent email only to your 
email which initially prevented this exchange from being posted to this august 
list.  I have corrected that.  Your help and wisdom will be shared.  8-)

   Again, thank you!

- Nelson

Failure is the most attentive teacher.  Too bad Microsoft isn't paying 
attention.

________________________________

        From: Roman [mailto:[EMAIL PROTECTED] 
        Sent: Thursday, April 24, 2008 11:11 AM
        To: Ingersoll, Nelson
        Subject: Re: [pmwiki-users] Indenting an entire table to line up with 
text.
        
        
        Nelson,
        Class "indent" is built-in and it is defined as wiki style with 
indentation value 40px. You can add new class (style):
        
        1. as a wikistyle - put $WikiStyle['indent2']['margin-left'] = '80px'; 
to your config.php
        
        or
        
        2. as a CSS style - put .indent2 { margin-left:80px; } to your CSS 
(pmwiki.css or other file depending on your skin)
        
        I prefer second option.
        
        Roman
        
        
        On Thu, Apr 24, 2008 at 6:24 PM, Ingersoll, Nelson <[EMAIL PROTECTED]> 
wrote:
        

Roman,
                
   Thank you.  The "... class=indent ..." worked and helps!  However, I have no 
clue how to "add a class" and a 15 minute effort searching the PmWiki mail 
archives and PmWiki documentation rendered zero useful information.  I suspect 
it has something to do with "wiki styles" and skins/themes which are areas I've 
only scratched so far.   However, you planted the seed of a thought in my mind 
which may yet grow.  Thanks again.
                
- Nelson
                
                
                ________________________________
                
                       From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
Behalf Of Roman
                       Sent: Thursday, April 24, 2008 4:05 AM
                       To: [email protected]
                       Subject: Re: [pmwiki-users] Indenting an entire table to 
line up with text.
                


                       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 
<[EMAIL PROTECTED]> 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:) [EMAIL PROTECTED]
                               (: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
                               [email protected]
                               
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
                
                
                
                



_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to