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

Patrick R. Michaud pmichaud at pobox.com
Mon Jun 20 09:09:12 CDT 2005


On Mon, Jun 20, 2005 at 09:07:34AM +0200, chr at home.se wrote:
> > $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.

If you just change the margin-left value to something smaller
you do indeed get the behavior you're asking for here.  If you
want the indentation to be the same as normal definition lists,
use "margin-left:40px;" .

Pm



More information about the pmwiki-users mailing list