RE: padded inline boxes and line boxes

Ranjit Singhe [mailto:ranjit_singhe@mail.com] wrote:
>notice in the s.shot that gecko does not respect vertical padding
>information.  in fact vertical padding behaves like negative margins (by
>that i mean sticking outside the line box rather than influencing the line
>box!).
>...should i
>let the vertical padding and border width influence the line box or not??

No, you should not.  Gecko renders this case correctly according to the CSS
spec; vertical padding, border and margin are not supposed to influence the
line box.

-Chris Wilson

Received on Thursday, 26 August 1999 17:36:45 UTC