How to change font in html script?

fickle.films

New member
This may not be what you think I'm asking, please read.
I have a date counter with this html:

<script language="JavaScript" type="text/javascript">
<!--
var
month = new Array();
month[0]="January";
month[1]="February";
month[2]="March";
month[3]="April";
month[4]="May";
month[5]="June";
month[6]="July";
month[7]="August";
month[8]="September";
month[9]="October";
month[10]="November";
month[11]="December";
var
day = new Array();
day[0]="Sunday";
day[1]="Monday";
day[2]="Tuesday";
day[3]="Wednesday";
day[4]="Thursday";
day[5]="Friday";
day[6]="Saturday";
today = new Date();
date = today.getDate();
day = (day[today.getDay()]);
month = (month[today.getMonth()]);
year = (today.getFullYear());
suffix = (date==1 || date==21 || date==31) ? "st" : "th" &&
(date==2 || date==22) ? "nd" : "th" && (date==3 || date==23) ? "rd" : "th"
function print_date()
{
document.write(day + "," + "Â*" + date + "<sup>" + suffix + "</sup>" + "Â*" +
month + "," + "Â*" + year);
}
// -->
</script>
<script>
<!--
print_date();
//-->
</script>

But when I use it, it appears in Times New Roman. I do not like Times New Roman, I would like it to be in arial, and colour; #006599; and a smaller font perhaps.

Can anyone help me? And please don't tell me to visit an html site, because I have tried. I'm asking you.

Thanks X)
 
Back
Top