I am using Firefox 3.0.1 to view a page I have set up. The following line of code shows up centered in IE, but is shifted to the right in Firefox. Any idea why?
There are many possibilities, depending on your DTD and also potentially the content of the javascript. since the align attribute is deprecated in HTML 4 [webmasterworld.com], does the layout render better using this mark-up:
<p style="text-align:center">
Fortune Hunter
9:51 pm on Aug 29, 2008 (gmt 0)
<p style="text-align:center">
No, I just tried this form and it doesn't work. I would agree that the JavaScript has something in it that would cause this, but why would it be ok in IE?