PDA

View Full Version : Page won't center in Fire Fox


AndrewElliott
12-3-08, 02:44 PM
My site "http://ecosoils.ca/ (http://ecosoils.ca)" won't center when viewed in Fire Fox.

It's weird, because it's fine in IE. ALSO, I have a second version of the page (for low resolution computers) that will center.

If you want to see it not centering make sure your screen is above 1024, if you want to see it centered it will have to set the screen at or below 1024.

Any ideas?

YvetteKuhns
12-3-08, 02:49 PM
You should add a DIV to center everything between the BODY tags. Also validate your source code. Your table attributes should be between STYLE tags or in an external CSS file.

AndrewElliott
12-3-08, 03:02 PM
Thanks,
I had tried that before, but you something in the style tag was over riding the div tag.

It's fixed now, Thanks 1,000,000

YvetteKuhns
12-3-08, 03:09 PM
You're welcome. Try putting the table attributes in CSS to make your individual page code easier to read. It also allows you to edit that one file and all of the pages are fixed. ;)