In case you did not know, it turns out that Firefox does not recognize “text-align: center;” for tables or the body. I read in some blog that this bit of code is not compliant. But au contrair (as they say in France), I shot this code through the code compliance tool at W3C before I put it into effect. But browsers evidently don’t care that much about standards. In any case mozilla has its own centering code, but it does not work in IE. Turns out there is one code that works in all browsers:
margin-right: auto;
margin-left:auto;
Remember to check your code on all the various browsers. You can work very hard to get your web pages w3c compliant. Yet even if they meet those rigid standards and render well in one browser that does not mean that they will render well in all browsers.
I always check a webpage every time I upload anything, whether it is a bit of text or an image. I had an XO in the Navy by the name of Dougherty who used to say, “You can only expect what you inspect.” I have taken that on as one of my mottos, and as long as I have followed it, it has served me well.