displayed color with IE vs Mozilla......

U

user

Following code in HTML & PHP works fine with Mozilla but when I run with
IE the colors which are stated as black and grey show a wierd green in IE.

Can someone tell me what I need to change in IE to make test black and
gray/grey.

Below is code.

TIA


<pre>
<center>

<table border=6 width=50% cellpadding=2 cellspacing=4 table
bgcolor=gainsboro
<tr><th><font color=black >cccb </th><th><font color=black >member
</th><tr><td><b><font color=grey> Advisory Committee</td><td><b><font
color=grey> Celestine Jeffreys</td></tr><tr><td><b><font color=grey>
Advisory Committee</td><td><b><font color=grey> Chad
Fradette</td></tr><tr><td><b><font color=grey> Advisory
Committee</td><td><b><font color=grey> Christopher
Wery</td></tr><tr><td><b><font color=grey> Advisory
Committee</td><td><b><font color=grey> Jerry
Wiezbiskie</td></tr><tr><td><b><font color=grey> Advisory
Committee</td><td><b><font color=grey> John Vander
Leest</td></tr><tr><td><b><font color=grey> Advisory
Committee</td><td><b><font color=grey> Thomas
Weber</td></tr></table></body><pre>
 
C

C A Upsdell

user said:
Following code in HTML & PHP works fine with Mozilla but when I run with
IE the colors which are stated as black and grey show a wierd green in IE.

Can someone tell me what I need to change in IE to make test black and
gray/grey.

Below is code.

TIA


<pre>
<center>

<table border=6 width=50% cellpadding=2 cellspacing=4 table
bgcolor=gainsboro
<tr><th><font color=black >cccb </th><th><font color=black >member
</th><tr><td><b><font color=grey> Advisory Committee</td><td><b><font
color=grey> Celestine Jeffreys</td></tr><tr><td><b><font color=grey>
Advisory Committee</td><td><b><font color=grey> Chad
Fradette</td></tr><tr><td><b><font color=grey> Advisory
Committee</td><td><b><font color=grey> Christopher
Wery</td></tr><tr><td><b><font color=grey> Advisory
Committee</td><td><b><font color=grey> Jerry
Wiezbiskie</td></tr><tr><td><b><font color=grey> Advisory
Committee</td><td><b><font color=grey> John Vander
Leest</td></tr><tr><td><b><font color=grey> Advisory
Committee</td><td><b><font color=grey> Thomas
Weber</td></tr></table></body><pre>

One thing you might do is not use names of colours that are not in the
standards. E.g. there is no such colour as 'gainsboro' in the
standards: this was a Netscape invention that browsers may or may not
recognize.

Another non-existent colour is 'grey': in the standards it is 'gray'.

You should also use CSS instead of deprecated FONT to specify colours.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top