Javascript question?
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 |
Re: Javascript question?
Quote:
you should look on the net for html tutorials... as i believe just your table can align it for u .... <TR><TD ALIGN="CENTER"> ..... </TD></TR> g'd luck |
Taking gdrobson's suggestion, here's the whole thing:
Code:
<html> |
All times are GMT -5. The time now is 04:22 PM. |