There are several places on my website that I use DLs. In many of them,
the default presentation is acceptable; in some, all I need to do is add
a couple of minor styles like

DT { font-weight: bold; }

The normal presentation for a DL is (apologies for restating the
well-known):

This is the DT text
    This is the DD text, which may wrap to
    multiple lines depending on length and
    margin settings


There is one place, however, where I would like a different
presentation.  This is for the list of sections of a magazine, and I'd
like them to appear as:


SECTION NAME (DT) IN BOLD   Section description
    (DD), which may run to multiple lines of
    text, or have DLs in the DD (and those DLs
    should be formatted the same way)


Obviously, getting the DT bold is trivial.  How, if at all, can I
arrange the DT and DD as shown?  I recall encountering something like
list-style = compact, but I don't think it was CSS, and it either didn't
work at all, or didn't work in some browsers.

Assume HTML4.01 Strict, if that turns out to be relevant.

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to