Guest_imported
New member
- Jan 1, 1970
- 0
Well, in a new documanet I have the date appearing as I want with the following code:
</head>
<font face="arial" size="1" COLOR="#161616">
<center>
<SCRIPT LANGUAGE="JavaScript1.2">
var time=new Date();
var month=time.getMonth();
var date=time.getDate();
var year=time.getYear();
document.write(date + " " + (month+1) + " " + year);
</script>
It works in a newly created page, but when I try to add it to all pages in my website, it doesn't appear. I've tried setting "padding" etc. but it doesn't work. I also want to align it right not centre page - when I put right instead it just goes to the left. Any ideas of how to solve these - I'm really not sure where to put the code with all the other html code in my pages.
</head>
<font face="arial" size="1" COLOR="#161616">
<center>
<SCRIPT LANGUAGE="JavaScript1.2">
var time=new Date();
var month=time.getMonth();
var date=time.getDate();
var year=time.getYear();
document.write(date + " " + (month+1) + " " + year);
</script>
It works in a newly created page, but when I try to add it to all pages in my website, it doesn't appear. I've tried setting "padding" etc. but it doesn't work. I also want to align it right not centre page - when I put right instead it just goes to the left. Any ideas of how to solve these - I'm really not sure where to put the code with all the other html code in my pages.