On Wednesday 2002-09-18 11:41 +0200, jeti wrote:
> I'm working on XUL stuff that enriches html pages for
> display. I'm using a div with absolute positioning and
> add it as first child of the body.
> But in non-quirks mode the top margin of the next element
> is not applied anymore if the extra div is added.

It's a known bug:
  http://bugzilla.mozilla.org/show_bug.cgi?id=18206
I'd be surprised if the bug went away in quirks mode, actually.  Did you
observe that it does, or are you just saying you only tested standards
mode?

> Can you think of a way to work around this problem?

Perhaps put an empty div before the absolutely-positioned element?

-David

-- 
L. David Baron        <URL: http://www.people.fas.harvard.edu/~dbaron/ >

Reply via email to