W3C home > Mailing lists > Public > www-style@w3.org > October 1997

Re: CSS1 and tables

From: Liam Quinn <liam@htmlhelp.com>
Date: Sat, 04 Oct 1997 21:32:45 -0400
Message-Id: <>
To: "Derek Harding" <derek@tpd.com>, <www-style@w3.org>

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 
>>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.

>The table will be indented 1 inch in both IE 3.0 and 4.0 (I haven't 
>checked this with the very latest Ie 4.0 but I'm pretty sure its still 
>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." 

>So, this means closing all paragraphs prior to the table with the 
>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

Version: PGP for Personal Privacy 5.0
Charset: noconv


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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:45 UTC