Hi!

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.

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


Thank you, Jens

----------------------------------------

PS: The output of these sources differs:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/strict.dtd";>
<html>
  <body>
   <p>test</p>
  </body>
<html>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/strict.dtd";>
<html>
   <body>
     <div style="position: absolute; left: 0px; top: 0px;"></div>
     <p>test</p>
   </body>
<html>



Reply via email to