Re: colours for bullets - this one is simple, works, & addresses

David Perrell <davidp@earthlink.net> wrote:
> I don't know what the intentions are, but MSIE's behavior indicates
> the table can be a sibling of the paragraph. Declare the style

>   P { color: blue }

> then follow a paragraph with a table. If there is a </P> before
> <TABLE>, the content of the table is black. If there is no </P>, the
> content of the table is blue.

This is true for MSIE 3, but not 4, where paragraphs on both sides
are blue, but the text in the table is black regardless of whether
</p> occurs or not. However, MSIE 4 does seem to allow <table> in <p>.
In the following MSIE 4 renders the first table's text in fucshia and
the second in red (and the vertical space before the second table is
larger):

<html>
<head>
<style>
  body { color: green }
  p { color: blue }
  table { color: red }
  p table { color: fucshia }
</style>
<body>
this text not in any para, so green
<p>para the first: in blue
<table border=1><tr><td>one<td>two<td>three: in fucshia</table>
continuation of 1st para, so also blue.

<p>para the second: in blue</p>
<table border=1><tr><td>one<td>two<td>three: in red</table>
this text not in any para, so green
</html>

Netscape 4 pr 3 gets it totally wrong and renders the text immediately
_after_ the table fucshia and red respectively.

I.

Received on Wednesday, 16 April 1997 10:21:25 UTC