Cookbook -was [pmwiki-users] PmWiki/DocumentationIndex

Hans design at flutesong.fsnet.co.uk
Mon Jun 20 03:36:58 CDT 2005


Sunday, June 19, 2005, 11:17:11 PM, Dominique wrote:
> Here's what I've found about dotted table of contents:

> http://home.tampabay.rr.com/bmerkey/examples/dot-leaders.html
> http://lenef.com/dotleader/
> http://www.ugcs.caltech.edu/%7Etakoyaki/css-test/tables/

> This may gives some ideas...

Thank you! interesting! Each of those solutions relies on some kind of
container, either in form of table cell, or division, or unordered
list tag, to hold the line with 'term' and 'definition', or 'text' and
'page number'. This container then gets a style applied which results
in a dotted line appearing, as a bottom border or an image of a dot
repeating itself.
The definition list output we got does not have such 'line'
containers, we just got
<dl>
    <dt>..term..</dt><dd>..definition..</dd>
    <dt>..term..</dt><dd>..definition..</dd>
    <dt>..term..</dt><dd>..definition..</dd>
    etc.
</dl>

So I don't see a solution to get styled dots here.
If we introduce some container element it makes it a bit messy, like

<ul>
   <li><dl><dt>.....</dt> <dd>.....</dd></dl></li>
   <li><dl><dt>.....</dt> <dd>.....</dd></dl></li>
   <li><dl><dt>.....</dt> <dd>.....</dd></dl></li>
   etc.
</ul>

where we have rows of single element definition lists.
(similar to lists with a single element in a table cell)


Best, 
~Hans                           




More information about the pmwiki-users mailing list