Re: CSS1 and tables

From: Liam Quinn <liam@htmlhelp.com>
>
>a validator will complain because the <TABLE> start-tag implicitly closes
>the preceding paragraph.

Ok, that answers that, thanks.

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

So, this means closing all paragraphs prior to the table with the associated
vertical spacing problems of different browsers putting in different
vertical spacing :(


Derek, wishing the browser companies could stop jockeying for market share
coz its killing us site builders :)

---
Derek Harding
Technical Director, TPD Publishing
http://www.tpd.com/~derek/
__________________________________________________________________________
The Ramkins were more highly bred than a hilltop bakery, whereas Corporal
Nobbs had been disqualified from the human race for shoving.
        -- Terry Pratchett, Men At Arms

Received on Saturday, 4 October 1997 21:14:08 UTC