I'm working on a javascript footer, and have run into some problems, I guess you'd say. I've just started using footers like this, I've tried using it as a text file and a js file. The js file is working, however, I cannot get part of it centered like I want it.
When it's all done in html, it is perfectly centered. But when I have it in the js file, it aligns to the left, and nothing I'm doing is getting it centered
Any help would be appreciated!
Code:
document.write("<table align='center' width='60%'>")
document.write("<tr><td><p align='center'>")
document.write("<script language='Javascript' src='http://www.truefresco.org/referrers.js'>")
document.write("</script></p></td></tr></table>")
Thanks!
__________________
- Morphius2
|