Problem: an HTML file I created and sent to a friend does not display color on his Mac. AFAIK the internal CSS follows the rules.
Background info: my browser is Iceweasel 2.0.0.8, which runs on Debian GNU/Linux 4.0r0 (Etch, or Stable), current. I used http://www.pitt.edu/~nisg/cis/web/cgi/rgb.html as my reference for colors. The troublesome file was created in xemacs21-mule, ver. 21.4.19-2, using the HTML mode that text editor provides. HTML is
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Request: suggestions for achieving compatibility, please.
What I have done so far: requested info from him regarding his browser, including version number; asked him to check the page source of my file for errors.
Here is the (internal, not external) CSS:
<style type="text/css">
body {background-color: rgb(250,240,230);}
/* Linen */
p,h1,h3 {font-family: verdana, 'sans serif';}
p,h3 {margin-left: 10pt;}
h1 {text-align:center;}
h1 {background-color: rgb(205,133,63);}
/* Peru */
h1 {color: #0000ff;}
/* Blue */
/* h2 {color: #483d8b;} */
/* Dark Slate Blue */
h3 {color: #483d8b;}
/* Dark Slate Blue */
p {color: #191970;}
/* Midnight Blue */
</style>
Comments -- CMIIAW: HTML is (claimed to be) universal, and does work properly on all but the most uncommon browsers. Operating systems are totally irrelevant. The problem I have is probably due to (1) my error when I created the CSS, or (2) a defect in his browser.
I want compatibility with my friends who use Macs. Any tips would be sincerely appreciated!
TIA
Background info: my browser is Iceweasel 2.0.0.8, which runs on Debian GNU/Linux 4.0r0 (Etch, or Stable), current. I used http://www.pitt.edu/~nisg/cis/web/cgi/rgb.html as my reference for colors. The troublesome file was created in xemacs21-mule, ver. 21.4.19-2, using the HTML mode that text editor provides. HTML is
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Request: suggestions for achieving compatibility, please.
What I have done so far: requested info from him regarding his browser, including version number; asked him to check the page source of my file for errors.
Here is the (internal, not external) CSS:
<style type="text/css">
body {background-color: rgb(250,240,230);}
/* Linen */
p,h1,h3 {font-family: verdana, 'sans serif';}
p,h3 {margin-left: 10pt;}
h1 {text-align:center;}
h1 {background-color: rgb(205,133,63);}
/* Peru */
h1 {color: #0000ff;}
/* Blue */
/* h2 {color: #483d8b;} */
/* Dark Slate Blue */
h3 {color: #483d8b;}
/* Dark Slate Blue */
p {color: #191970;}
/* Midnight Blue */
</style>
Comments -- CMIIAW: HTML is (claimed to be) universal, and does work properly on all but the most uncommon browsers. Operating systems are totally irrelevant. The problem I have is probably due to (1) my error when I created the CSS, or (2) a defect in his browser.
I want compatibility with my friends who use Macs. Any tips would be sincerely appreciated!
TIA