[pmwiki-users] Minor issue on beta 22: Extra <DT> tag

H. Fox haganfox at users.sourceforge.net
Thu Feb 2 16:02:38 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 01:10:04PM -0500, Waylan Limberg wrote:
> > > On 2/1/06, H. Fox <haganfox at users.sourceforge.net> wrote:
> > > [snip]
> > > > except the "definitionless term" and "termless definitions" appear to
> > > > be a semantic kludge being used to achieve a presentation effect.  Are
> > > > they in fact definitions?  Shouldn't it be an unordered list?
> > >
> > > I thought the same thing.
> >
> > They're holdovers from a very very long time ago in PmWiki's development,
> > when browsers were less capable than they are today.  It's okay with
> > me to convert the default to something else, but I'd like it to be
> > done soon, while we're still in beta.
> >
> As a start, I just set up a test page using the markup Hagan offered
> above. Personaly, I would prefer a nested unordered list and have made
> that change (with diff's for others to see that hagan's code results
> in the same look as the current default) Go ahead and add your
> improvements here:
> http://www.pmwiki.org/wiki/Test/PageListTemplates

Your example on that page almost exactly matches my first-draft
solution.  I had put a version of it (with the div, though) on the
PITS.00658 page.  I updated Issue 658 to include your text below.

Hagan

> I noticed that the result is wrapped in
>     <div class='fpltemplate'>
>
> Any easy way to change that class in the markup? That would provide
> for some easy styling hooks. One thing I like about nested lists is
> the ease of styling each level - eliminating the need for the div
> Hagan suggested.
>
> The CSS would then look something like this:
>
>     MyClass ul {...}
>
>     MyClass ul li {...}
>
>     MyClass ul ul {...}
>
> which would eliminate the need for the %block list-style=none% in the markup.
> --
> ----
> Waylan Limberg
> waylan at gmail.com
>




More information about the pmwiki-users mailing list