- From: Andrew Fedoniouk <news@terrainformatica.com>
- Date: Fri, 2 Jul 2004 12:38:15 -0700
- To: "L. David Baron" <dbaron@dbaron.org>, <www-style@w3.org>
Thanks a lot, David, I've got your idea. Actually body and paragraph margins do collapse here: <body><p>text</p></body> My problem was that I've forgot that root element is HTML and not BODY. "Margins of the root element's box do not collapse." Beg my pardon for this stupid question. Andrew Fedoniouk. http://terrainformatica.com ----- Original Message ----- From: "L. David Baron" <dbaron@dbaron.org> On Friday 2004-07-02 09:18 -0700, Andrew Fedoniouk wrote: > I am testing in quirks *and strict* modes. Are you sure? Did you check the mode in context menu -> View Page Info? > Collapsing behavior is the same. As I said before, i don't think this has anything to do with collapsing. > So paragraph having default margins > <p> and <p style="margin:1em 0"> are not the same for collapsing rules > internally used in UA. It has nothing to do with collapsing. It has to do with what the computed value of 'margin-top' is. Did you check that computed value using the DOM or in DOM Inspector? (I assume you're talking about the distance between the top of the viewport and the top border of the paragraph, since that's the only thing that could be measured in the testcase you gave. And there's really nothing else I could add without seeing a URL for the actual testcase you're talking about. Never mind that this is rapidly getting off-topic for this list...) -David
Received on Friday, 2 July 2004 15:40:03 UTC