E-mail List Archives

Re: <dt><dd> and CSS

for

From: Jukka K. Korpela
Date: Sep 25, 2006 12:00PM


On Mon, 25 Sep 2006, John Foliot wrote:

> Does anyone know of a technique where-by I can group definition lists by
> their pairs for CSS styling?

The formulation is somewhat vague, and it does not directly strike me as
an accessibility issue.

> What I am hoping to do is to visually style a
> "box" which contains both the term and description, yet various attempts are
> failing validation.

I guess this would best be discussed in some forum devoted to CSS, such as
the css-discuss list or news:comp.infosystems.www.authoring.stylesheets.
It would be easier to discuss if you included the URL of a demo page,
containing the _most natural_ markup for the lists, perhaps with some
attempt(s) at styling.

(My gut feeling is that you may wish to change from <dl> to <table> at
some point, and this will raise some accessibility issues, but probably
nothing serious.)

--
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/