- From: Liam Quinn <liam@htmlhelp.com>
- Date: Sat, 04 Oct 1997 21:32:45 -0400
- To: "Derek Harding" <derek@tpd.com>, <www-style@w3.org>
-----BEGIN PGP SIGNED MESSAGE----- At 06:13 PM 04/10/97 -0700, Derek Harding wrote: >From: Liam Quinn <liam@htmlhelp.com> >> >>I assume you're talking about IE3, since my IE4 does not inherit styles >>from a paragraph into a table. If this is the case, it's a bug in IE3 >>that has been fixed in IE4. I believe that if you close all paragraphs >>explicitly (i.e., use </P>), then you will avoid this bug (though I can't >>check since I can't run IE3 and IE4 on the same computer :(). >> >IE3 and IE4 seems to be prone to the same thing. If you do this: > ><p style="left-margin:1in"> You mean margin-left and not left-margin, BTW. ><table>......</table> ></p> > >The table will be indented 1 inch in both IE 3.0 and 4.0 (I haven't double >checked this with the very latest Ie 4.0 but I'm pretty sure its still true, >it certainly was in preview 2). Yes, it's still true in IE4 Final, and it's definitely a bug. I tested earlier with color and font-size and both Netscape 4.03 and IE4 got it right. I suspect that Netscape gets it right by accident though, since it doesn't allow inheritance into TABLEs of styles set on BODY. Netscape seems to treat TABLEs as though they're separate documents. (The sad part is that they believe this is true: "Following their original web design, tables do not inherit styles from the surrounding text or style sheet." [1]) >So, this means closing all paragraphs prior to the table with the associated >vertical spacing problems of different browsers putting in different >vertical spacing :( Different browsers will always use different vertical spacing. You could suggest your own vertical spacing (e.g., margin-top on TABLE), but I'd imagine today's browsers would still give inconsistent (buggy) results. As long as you're not dependent on pixel-perfect spacing, the extra space browsers add when confronted with </P> shouldn't be a problem. [1] http://developer.netscape.com/support/bugs/known/css.html -----BEGIN PGP SIGNATURE----- Version: PGP for Personal Privacy 5.0 Charset: noconv iQB1AwUBNDbuOw/JhtXygIx1AQF33gMApMJv0ALif4CxibQ5u4fLN01ehjedl3H8 cZOBNyo2+ryucRIxKycsxMxZq8vfzH6kcGdQ2D02hvJqmJq2Q4v/bo9YxZ7IRQia /Rl+16r1Ocz1QpIZEI5HYZ8Sq96lFtGY =tUAR -----END PGP SIGNATURE----- -- Liam Quinn Web Design Group Enhanced Designs, Web Site Development http://www.htmlhelp.com/ http://enhanced-designs.com/
Received on Saturday, 4 October 1997 21:31:50 UTC