Hi Bruno,

Thank you! You really got me thinking out of the box i was in :)
In the end i didn't gave the DD's "layout", because in my situation it was
possible
to go for a true cross browser solution. Without the "layout" and without a
float on the DD's,
each term and definition sit perfectly together on one line without any
hacks, fixes.
I would probably use your solution "as is" if i needed background around the
text in the DD.

Thank you again,

Serge Krul
Front-End Developer
IT Department
Israel Sci-tech Schools R&D Center

On Sun, Jun 29, 2008 at 11:18 PM, Bruno Fassino <[EMAIL PROTECTED]> wrote:

> 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