aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes JaveScript code align ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JaveScript code align ?" Watch "JaveScript code align ?" New topic
Author

JaveScript code align ?

Mike Shn
Ranch Hand

Joined: May 26, 2001
Posts: 149
Hello
I want to my webiste add some small Java Script code:
<table cellpadding=0 cellspacing=0 border=0 width=100% bordercolor="#CCFFFF" bgcolor="#0000FF">
<tr>
<td bgcolor="#CCFFFF"><font color="#000000" size="1" face="Arial" ><script language="JavaScript">
copyright=new Date();
update=copyright.getYear();
document.write("Copyright �"+ update + "    My Company    All rightsReserved.");
</script>
</tr>
</table>
But I want to insert the code at the center of my page. I tried
<center> , <p align="center"> did not work? How can I insert the code at the center of the page?
Thanks
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
<td bgcolor="#CCFFFF" align="center">
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JaveScript code align ?