Can’t seem to find something that works here but I want to add a simple br inside the following code to separate the time and date on 2 different lines. Tnx.
[CODE]<head>
<meta charset=”utf-8″>
<title>Untitled Document</title>
<script type=”text/javascript”>
function display_c(){
var refresh=1000; // Refresh rate in milli seconds
mytime=setTimeout(‘display_ct()’,refresh)
}
function display_ct() {
var strcount
var x = new Date()
var x1=x.getMonth()+1 + “/” + x.getDate() + “/” + x.getFullYear();
x1 = x1 + ” – ” + x.getHours( )+ “:” + (x.getMinutes()<10?’0′:”) + x.getMinutes() + “:” + (x.getSeconds()<10?’0′:”) + x.getSeconds();
document.getElementById(‘ct’).innerHTML = x1;
tt=display_c();
document.getElementById(‘ct’).style.fontSize=’48px’;
document.getElementById(‘ct’).style.color=’#ffffff’;
document.getElementById(‘ct’).innerHTML = x2;
}
</script>
</head>
<body bgcolor=”#000000″ onload=display_ct();>
<br><br><br><br><br><p align=”center”><span id=’ct’ ></span></p>
<br><p align=”center”><span id=’ct’ ></span>
</body>