Dev monkey wrote:
>
> the typical way to format definition lists as a 2-column table is
> to float the DTs (left column) and give the DDs a left margin
> larger than the DT width. This works fine when all DDs are equal
> to, or longer than, their matching DT.
>
> In my case, all my definition-list elements are one line long,
> except for the top DT which wraps onto two lines. This throws off
> the vertical alignment of DT/DD pairs:


I don't remembers the details, but I have this rather old page
attempting to solve this problem
  http://brunildo.org/test/float_clear2.html
Essentially you can float the DTs, add to the DDs an after rule with a
clear, plus some "corrections" for IE7- browsers...

Bruno

-- 
Bruno Fassino http://www.brunildo.org/test
______________________________________________________________________
css-discuss [[email protected]]
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