WebAIM - Web Accessibility In Mind

E-mail List Archives

<dt><dd> and CSS

for

From: John Foliot
Date: Sep 25, 2006 2:20PM


Many thanks to those that wrote back. The "best" solution suggested was a
variant on this:

<style type="text/css">
dl dt,
dl dd {
border: 1px dotted #000;
padding:.25em;
background:#ffd;
}

dl dd {
border-top: 1px solid #ffd;
margin-top:-1px;
margin-bottom: .5em;
}

</style>

Which worked fine in everything but the stoopid Blue E browser...

However, what I was really attempting to do was to use :hover and then style
the combined elements together.. Which I can't do. Oh well, it was a shot.

And for those that asked - when the site is almost ready for prime-time I
will open it up, but for now, sadly, it is under wraps.

Thanks again!

JF