Serge Krul wrote:
>
> i came across a known IE
> bug<http://www.quirksmode.org/bugreports/archives/2005/06/Brea
> king_floats_into_rows.html> (breaking
> floats into rows), but in such a way i can't really think of a good
> workaround.
>
> In my situation i have a definition list, and i need each term and
> definition to be on a separate line.
> My approach was to float both DT and DD and set clear on every DT.


You could try, just for IE of course, to make the DD not floated (and make
sure they have hasLayout). Due to another IE bug [1, case 2] they will
anyway stay not higher than their preceding DT. You may need to adjust
vertical margins, but this should work, I have a variant here [2, case 2].
If you have more than one DD for any row, only the last one needs to be
non-floated.

Bruno



[1] http://brunildo.org/test/IEWfc2.html
[2] http://brunildo.org/test/float_clear2.html

--
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