See the document.write statement below which shows the class name as dayofweek which refers to an external style sheet.
document.write('<span class="dayofweek">' + weekDay[i],"</span>");
Here is the external style sheet:
font: bold 1.25em "Times New Roman";
I don't know if the DTD is the problem or not. Below is the DTD I used which I understand forces standards mode.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<link rel="stylesheet" type="text/css" href="external.css" />
In my tests, using Firefox and IE 6, the style sheet is not rendered when written as an external style sheet but does work fine in both browsers when used as an embedded(internal)style sheet.
Thanks for any help.