22403 Posts in 6882 Topics by 2748 members
|Go to End|
12 June 2009 at 3:59am
I am building my site and using Firefox v3.0.10 and IE 8.
when i create a table via the CMS and center it on the page in IE8 it looks fine, however when i open the same page in Firefox it is not centered...is this a known problem / bug and is there something i can do about it?
example can be seen here
13 June 2009 at 12:54am
The table in that example is using the align attribute which is deprecated in XHTML. The correct way to do centering would be to add the following bit of CSS in the right spot:
margin: 0 auto;
That sets the top/bottom margins to 0 and the left/right margins to auto.
15 June 2009 at 10:40am
Thanks for that Sphire.
Where would the right spot be to put this?
|Go to Top|