On Thu, Mar 6, 2008 at 5:45 PM, Alan Gresley wrote:
>
>  > [2] http://brunildo.org/test/clear.html (last test case)
>
>  The second test case (6th and 7th example) show display:table doubling your 
> border
> on class="nextdiv". It should be 8px where IE8 is showing 16px.
>
>  So something is awfully wrong with display:table and IE8
>
>  Alan
>
>  http://css-class.com/


Yes, it seems that 'anonymous'  display:table-cell  (and
display:table) boxes somehow inherit the border of their parent /
child.  See [1]: only when both  display:table and display:table-cell
are explicitly present (not anonymously created) all the borders are
correct.
In the other cases an existing border is "replicated" on the anonymous
object (and sometimes also the padding.)  Or something like that.

Of course the good news are that display:table works :-)

Bruno

[1] http://brunildo.org/test/disptable.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