Re: CSS1 and tables

-----BEGIN PGP SIGNED MESSAGE-----

At 02:03 PM 04/10/97 -0700, Derek Harding wrote:
>My question on this is: Is a table a valid container within a paragraph 
or
>not. ie. should it inherit the style of the paragraph it is contained in.

No, as you can confirm with a validator like WebTechs [1] or A Kinder, 
Gentler Validator [2].  If you use

<P>Foo
<TABLE>...</TABLE>
</P>

a validator will complain because the <TABLE> start-tag implicitly closes 
the preceding paragraph.

>The reason I ask is that it does in Microsofts implementation and it 
doesn't
>in Netscapes. Is there a definitive answer and if so, which of these two 
has
>teh broken implementation?

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 :().

[1] http://www.webtechs.com/html-val-svc/
[2] http://ugweb.cs.ualberta.ca/%7Egerald/validate/

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQB1AwUBNDbREQ/JhtXygIx1AQEAJwL9FBG8y4OYj2n98bpapWd65N5cSo2h63VC
m+K3CDKAAJ/nhb6mXNJHuf0vPWJA4eIssLWxG6xQkTjsElKJxkC9OduUwqEWnUAo
uuZueeTobe0pa+GmnCX798r9y1m+Nd4e
=Rm9m
-----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 19:27:48 UTC