En cualquier parte que le pongo <"center"> me regresa un error, quiero que aparezca centrado o a la derecha de la pantalla.
Gracias.
<script language=Javascript1.2>
<!--
var tags_before_clock = "<font face='verdana, helvetica, sans-seif' size='1' color='#999999'>"
var tags_middle_clock = "Bienvenido, hoy es "
var tags_after_clock = "</font>"
if(navigator.appName == "Netscape") {
document.write('<layer id="clock"></layer><br>');
}
if (navigator.appVersion.indexOf("MSIE") != -1){
document.write('<span id="clock"></span>');
}
DaysofWeek = new Array()
DaysofWeek[0]="Domingo"
DaysofWeek[1]="Lunes"
DaysofWeek[2]="Martes"
DaysofWeek[3]="Miércoles"
DaysofWeek[4]="Jueves"
DaysofWeek[5]="Viernes"
DaysofWeek[6]="Sábado"
Months = new Array()
Months[0]="Enero"
Months[1]="Febrero"
Months[2]="Marzo"
Months[3]="Abril"
Months[4]="Mayo"
Months[5]="Junio"
Months[6]="Julio"
Months[7]="Agosto"
Months[8]="Septiembre"
Months[9]="Octubre"
Months[10]="Noviembre"
Months[11]="Diciembre"
function upclock(){
var dte = new Date();
var hrs = dte.getHours();
var min = dte.getMinutes();
var sec = dte.getSeconds();
var day = DaysofWeek[dte.getDay()]
var date = dte.getDate()
var month = Months[dte.getMonth()]
var year = dte.getFullYear()
var col = ":";
var spc = " ";
var com = ",";
var apm;
if (date == 1 || date == 21 || date == 31)
{ender = ""}
else
if (date == 2 || date == 22)
{ender = ""}
else
if (date == 3 || date == 23)
{ender = ""}
else
{ender = "<sup></sup>"}
if (12 < hrs) {
apm="<font size='1'>pm</font>";
hrs-=12;
}
else {
apm="<font size='1'>am</font>";
}
if (hrs == 0) hrs=12;
if (hrs<=9) hrs="0"+hrs;
if (min<=9) min="0"+min;
if (sec<=9) sec="0"+sec;
if(navigator.appName == "Netscape") {
document.clock.document.write(tags_before_clock+hr s+col+min+col+sec+apm+spc+tags_middle_clock+spc+da y+com+spc+date+ender+spc+month+com+spc+year+tags_a fter_clock);
document.clock.document.close();
}
if (navigator.appVersion.indexOf("MSIE") != -1){
clock.innerHTML = tags_before_clock+hrs+col+min+col+sec+apm+spc+tags _middle_clock+spc+day+com+spc+date+ender+spc+month +com+spc+year+tags_after_clock;
}
}
setInterval("upclock()",1000);
//-->
</script>