lgfan
03-29-2003, 11:10 AM
I put this javascript code on my website but I can´t change its font face to verdana. Here´s the code:
<script language="JavaScript">
d = new Date();
hour = d.getHours();
if(hour < 5)
{
document.write("Navegando de madrugada? Toda hora é hora de giLmore girLs...");
}
else
if(hour < 8)
{
document.write("Bom dia! Toda hora é hora de giLmore girLs...");
}
else
if(hour < 12)
{
document.write("Bom dia! Toda hora é hora de giLmore girLs...");
}
else
if(hour < 18)
{
document.write("Boa tarde! Toda hora é hora de giLmore girLs...");
}
else
{
document.write("Boa noite! Toda hora é hora de giLmore girLs...");
}
</script>
==> I´ve already put this on the head of the document
<style type="text/css">
<!-- p { font-family: Verdana;
text-align: justify} -->
</style>
<style type="text/css">
<!--
A:link {text-decoration:none}
A:visited {text-decoration:none}
--> </style>
Can somebody help?
<script language="JavaScript">
d = new Date();
hour = d.getHours();
if(hour < 5)
{
document.write("Navegando de madrugada? Toda hora é hora de giLmore girLs...");
}
else
if(hour < 8)
{
document.write("Bom dia! Toda hora é hora de giLmore girLs...");
}
else
if(hour < 12)
{
document.write("Bom dia! Toda hora é hora de giLmore girLs...");
}
else
if(hour < 18)
{
document.write("Boa tarde! Toda hora é hora de giLmore girLs...");
}
else
{
document.write("Boa noite! Toda hora é hora de giLmore girLs...");
}
</script>
==> I´ve already put this on the head of the document
<style type="text/css">
<!-- p { font-family: Verdana;
text-align: justify} -->
</style>
<style type="text/css">
<!--
A:link {text-decoration:none}
A:visited {text-decoration:none}
--> </style>
Can somebody help?