[pmwiki-users] Minor issue on beta 22: Extra <DT> tag
H. Fox
haganfox at users.sourceforge.net
Thu Feb 2 16:12:04 CST 2006
On 2/2/06, Waylan Limberg <waylan at gmail.com> wrote:
> On 2/2/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > On Thu, Feb 02, 2006 at 03:33:52PM -0500, Waylan Limberg wrote:
> > > I noticed that the result is wrapped in
> > > <div class='fpltemplate'>
> > >
> > > Any easy way to change that class in the markup?
> >
> > (:pagelist fmt=#whatever class='whatever':)
> >
> > There's not an easy way to set the class of the div from the template,
> > if only because I don't know of a good syntax to use for specifying
> > it (and possibly other options to pagelist) from inside the template.
> >
> Actually, this is better and what I had in mind (guess I should have
> tried it). That way, I could have 2 different pagelists on one page
> and set each to a different class for styling purposes - even if they
> use the same template.
Two questions:
1) What is the flptemplate class used for?
2) How does one control indenting of a list using CSS?
What I have so far seems to almost work, other than everything being
30px or 40px shifted to the right (which isn't terrible, just
different).
The template:
[[#default]]
(:if ! equal {=$Group} {<$Group}:)
*[[{=$Group}]] /
(:if:)
**[[{=$Group}/{=$Name}]]
[[#defaultend]]
The CSS:
div.fpltemplate ul { margin:0px; list-style:none; }
div.fpltemplate ul li { }
div.fpltemplate ul ul { }
div.fpltemplate a { }
Nothing seems to be able to affect the left-margin...
Hagan
More information about the pmwiki-users
mailing list