[pmwiki-users] %dlcol% (was: Cookbook -was PmWiki/DocumentationIndex))

chr at home.se chr at home.se
Mon Jun 20 02:07:34 CDT 2005


On Sun, 19 Jun 2005, Hans wrote:

> Sunday, June 19, 2005, 7:48:26 PM, Patrick wrote:
> > $HTMLStylesFmt['columnlist'] = "
> >   dl.dlcol dt { float:left; }
> >   dl.dlcol dd { margin-left:240px; }\n";
> 
> > $WikiStyle['dlcol']['apply'] = 'list';
> > $WikiStyle['dlcol']['class'] = 'dlcol';
> 
> try this:
> 
> $HTMLStylesFmt['columnlist'] = "
>   dl.dlcol dt { float:left; padding-right:0.5em; }
>   dl.dlcol dd { margin-left:13em; }\n";
> 
> $WikiStyle['dlcol']['apply'] = 'list';
> $WikiStyle['dlcol']['class'] = 'dlcol';

I tried getting the above to work by shoving into my config.php, but 
nothing happens... am I missing something?

/Christian

PS. Ideally I'd like a style that gives me a definition list looking like 
this:

Term  Definition paragrapht that will be
      continued on the next line.

AnotherTerm Definition paragraph that also
      is continued on the next line.


-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list